diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-07-29 19:56:22 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-07-29 19:56:22 -0400 |
commit | 612f856978e9c2439a3f6fb8164bb9029c4102d2 (patch) | |
tree | 22052eb76ff571d2be243f567437870ba4c217ea /lib/sisu/v5/options.rb | |
parent | debian/changelog (5.5.4-1) (diff) | |
parent | v5 v6: ensure reset of parsed document directory path (diff) |
Merge tag 'sisu_5.5.5' into debian/sid
SiSU 5.5.5
Diffstat (limited to 'lib/sisu/v5/options.rb')
-rw-r--r-- | lib/sisu/v5/options.rb | 8 |
1 files changed, 4 insertions, 4 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/ |