aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/options.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v3/options.rb')
-rw-r--r--lib/sisu/v3/options.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/sisu/v3/options.rb b/lib/sisu/v3/options.rb
index 81d12db8..b5771590 100644
--- a/lib/sisu/v3/options.rb
+++ b/lib/sisu/v3/options.rb
@@ -309,6 +309,7 @@ module SiSU_commandline
when /^--(?:po4a|pot?)$/; c=c+'P'
when /^--(?:termsheet)$/; c=c+'T'
when /^--(?:manifest)$/; c=c+'y'
+ when /^--(?:qrcode)$/; c=c+'Q'
when /^--(?:sqlite)$/; c=c+'d'
when /^--(?:pg|pg?sql|postgresql)$/; c=c+'D'
when /^--(?:remote|rsync)$/; c=c+'R'
@@ -551,6 +552,11 @@ module SiSU_commandline
true
else false
end
+ act[:qrcode]=if cmd =~/Q/ \
+ or mod.inspect =~/"--qrcode"/
+ true
+ else false
+ end
act[:manifest]=if cmd =~/y/ \
or mod.inspect =~/"--manifest"/
true