aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2011-08-08 23:49:51 -0400
committerRalph Amissah <ralph@amissah.com>2011-08-08 23:49:51 -0400
commitbd2ba361e5a61ee4f1e24370b2e1bf24d10e7d41 (patch)
treeb1a8b001f3d503f71a743119b0d3272f2ca1f844 /lib
parentv2 v3: removed objects.txt, cleaning (diff)
v3: options, default action on running "sisu3 [filename.sst]", fix
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/v3/options.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/sisu/v3/options.rb b/lib/sisu/v3/options.rb
index b5771590..6626870f 100644
--- a/lib/sisu/v3/options.rb
+++ b/lib/sisu/v3/options.rb
@@ -177,8 +177,10 @@ module SiSU_commandline
@lngs = q[:lngs]
if @files.length > 0 \
and @cmd.empty? \
- and @mod.length==0 #% if no other action called on filename given, default is sisu -0 [filename(s)] configured as flag default
- @cmd=shortcut.cf_0
+ and @mod.length==0 #% if no other action called on filename given, default is sisu --v3 -0 [filename(s)] configured as flag default
+ shortcut=SiSU_Env::Info_processing_flag.new
+ @mod=['--v3']
+ @cmd=shortcut.cf_0 + 'm'
end
SiSU_Screen::Ansi.new(@cmd,"\tsisu " + @cmd + ' ' + @mod.join(' ') + ' ' + @files.join(' ') + "\n").print_brown if @cmd =~/[vVM]/
end