diff options
| -rw-r--r-- | lib/sisu/v5/options.rb | 8 | ||||
| -rw-r--r-- | lib/sisu/v6/options.rb | 8 | 
2 files changed, 8 insertions, 8 deletions
| diff --git a/lib/sisu/v5/options.rb b/lib/sisu/v5/options.rb index e90fe668..eede713a 100644 --- a/lib/sisu/v5/options.rb +++ b/lib/sisu/v5/options.rb @@ -277,10 +277,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 --v4 -0 [filename(s)] configured as flag default +        and @mod.length==0 #% if no other action called on filename given, default is sisu --v5 -0 [filename(s)] configured as flag default            shortcut=SiSU_Env::InfoProcessingFlag.new -          @mod=['--v4'] -          @cmd=shortcut.cf_0 + 'm' +          @mod=['--v5'] +          @cmd=shortcut.cf_0 + ' --dal'          end          if @cmd =~/[vVM]/ \          && @cmd !~/-[ku]*v[ku]*$/ @@ -459,7 +459,7 @@ module SiSU_Commandline        a.each do |x|          y=case x          when /0/ -          (x=~/^-1\S+/) \ +          (x=~/^-0\S+/) \            ? x.gsub(/^-0(\S+)/,shortcut.cf_0 + ' -\1')            : x.gsub(/^-0/,shortcut.cf_0 + ' ')          when /1/ diff --git a/lib/sisu/v6/options.rb b/lib/sisu/v6/options.rb index c71372e0..b73dd87c 100644 --- a/lib/sisu/v6/options.rb +++ b/lib/sisu/v6/options.rb @@ -277,10 +277,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 --v4 -0 [filename(s)] configured as flag default +        and @mod.length==0 #% if no other action called on filename given, default is sisu --v5 -0 [filename(s)] configured as flag default            shortcut=SiSU_Env::InfoProcessingFlag.new -          @mod=['--v4'] -          @cmd=shortcut.cf_0 + 'm' +          @mod=['--v5'] +          @cmd=shortcut.cf_0 + ' --dal'          end          if @cmd =~/[vVM]/ \          && @cmd !~/-[ku]*v[ku]*$/ @@ -459,7 +459,7 @@ module SiSU_Commandline        a.each do |x|          y=case x          when /0/ -          (x=~/^-1\S+/) \ +          (x=~/^-0\S+/) \            ? x.gsub(/^-0(\S+)/,shortcut.cf_0 + ' -\1')            : x.gsub(/^-0/,shortcut.cf_0 + ' ')          when /1/ | 
