aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v6/options.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-07-22 21:50:52 -0400
committerRalph Amissah <ralph@amissah.com>2014-07-22 21:50:57 -0400
commit0ec06db262b3ae933667cb4f71681d763985074f (patch)
tree577ac7983a023f6eecee5bd07ec69d1025552b68 /lib/sisu/v6/options.rb
parentv5 v6: sysenv, revert to use of stub_pwd to correct hub post processing behavior (diff)
v5 v6: sysenv, processing shortcuts, options, adjust
* (further refinement necessary)
Diffstat (limited to 'lib/sisu/v6/options.rb')
-rw-r--r--lib/sisu/v6/options.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v6/options.rb b/lib/sisu/v6/options.rb
index 232481c8..c71372e0 100644
--- a/lib/sisu/v6/options.rb
+++ b/lib/sisu/v6/options.rb
@@ -550,7 +550,7 @@ module SiSU_Commandline
when /^--(?:xml-sax)$/ then c=c+'x'
when /^--(?:xml-dom)$/ then c=c+'X'
when /^--(?:images)$/ then c=c+'j'
- when /^--(?:hash-digests)$/ then c=c+'N'
+ when /^--(?:digests?|hash-digests)$/ then c=c+'N'
when /^--(?:po4a|pot?)$/ then c=c+'P'
when /^--(?:termsheet)$/ then c=c+'T'
when /^--(?:manifest)$/ then c=c+'y'
@@ -1107,7 +1107,7 @@ module SiSU_Commandline
? { bool: true, set: :on }
: { bool: false, set: :na }
act[:hash_digests]=(cmd =~/N/ \
- || mod.inspect =~/"--hash-digests"/) \
+ || mod.inspect =~/"--digests?"|"--hash-digests"/) \
? { bool: true, set: :on }
: { bool: false, set: :na }
act[:pdf_font_size]=if mod.inspect =~/"--(?:pdf-)?font-?size[=-](\d{1,2})(?:pt)?"/