aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v6/options.rb
diff options
context:
space:
mode:
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)?"/