aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v6/options.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-07-29 19:56:22 -0400
committerRalph Amissah <ralph@amissah.com>2014-07-29 19:56:22 -0400
commit612f856978e9c2439a3f6fb8164bb9029c4102d2 (patch)
tree22052eb76ff571d2be243f567437870ba4c217ea /lib/sisu/v6/options.rb
parentdebian/changelog (5.5.4-1) (diff)
parentv5 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/v6/options.rb')
-rw-r--r--lib/sisu/v6/options.rb8
1 files changed, 4 insertions, 4 deletions
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/