aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-03-31 10:07:26 -0400
committerRalph Amissah <ralph@amissah.com>2013-03-31 10:07:26 -0400
commit4b1d0dd6880e9dcf1056657119acce87e28a233d (patch)
treee4929926209072a3cecc36664821942a0b2c931c /lib/sisu/v4
parentv4: sysenv, yamlrc cosmetic (diff)
v4: options, exclude manifest links if no manifest (--no-manifest) selected
Diffstat (limited to 'lib/sisu/v4')
-rw-r--r--lib/sisu/v4/options.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sisu/v4/options.rb b/lib/sisu/v4/options.rb
index 0608df4e..896cfe0a 100644
--- a/lib/sisu/v4/options.rb
+++ b/lib/sisu/v4/options.rb
@@ -718,6 +718,9 @@ module SiSU_Commandline
end
act[:links_to_manifest]=if mod.inspect =~/"--inc-links-to-manifest"|"--inc-manifest-links"/
{ bool: true, set: :on }
+ elsif mod.inspect =~/"--(?:exc|no)-manifest"/ \
+ || act[:switch][:off].inspect =~/"manifest"/ #place lower
+ { bool: false, set: :off }
elsif mod.inspect =~/"--(?:exc|no)-links-to-manifest"|"--(?:exc|no)-manifest-links"/ \
|| act[:switch][:off].inspect =~/"links_to_manifest"|"manifest_links"|"--(?:exc|no)-manifest"/ \
|| mod.inspect =~/"--(?:redirect|dump)/