diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-10-27 23:23:46 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-10-27 23:23:46 -0400 |
commit | 8090434eb4d686035a8b6f4e1ff0d06b32d930a0 (patch) | |
tree | 9b7862890acb633c764efd1eaaca3b4c6348f6cc /lib | |
parent | v4 v5: version & changelog (diff) |
v4 v5: cleaning, minor
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sisu/v4/options.rb | 6 | ||||
-rw-r--r-- | lib/sisu/v5/options.rb | 10 |
2 files changed, 3 insertions, 13 deletions
diff --git a/lib/sisu/v4/options.rb b/lib/sisu/v4/options.rb index 54ef7ccc..4f5087dc 100644 --- a/lib/sisu/v4/options.rb +++ b/lib/sisu/v4/options.rb @@ -1072,6 +1072,6 @@ module SiSU_Commandline end end __END__ -note usually named @opt is carried in Param usually as @md @opt is a subset of -@md where @md is passed, contents of @opt are available as @md.opt passing @opt -as well is duplication check for fns & fnb +note usually named @opt is carried in Param (usually as @md.opt), @opt is a +subset of @md where @md is passed, contents of @opt are available as @md.opt +passing @opt as well is duplication check for fns & fnb diff --git a/lib/sisu/v5/options.rb b/lib/sisu/v5/options.rb index 6f23d5a1..5bf851e3 100644 --- a/lib/sisu/v5/options.rb +++ b/lib/sisu/v5/options.rb @@ -682,16 +682,6 @@ module SiSU_Commandline { bool: false, set: :off } else { bool: true, set: :na } end - act[:manifest]=if mod.inspect =~/"--inc-manifest"/ - { bool: true, set: :on } - elsif mod.inspect =~/"--(?:exc|no)-manifest"/ \ - || act[:switch][:off].inspect =~/"manifest"/ - { bool: false, set: :off } - elsif act[:manifest]=(cmd =~/y/ \ - || mod.inspect =~/"--manifest"/) - { bool: true, set: :on } - else { bool: true, set: :na } - 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"/ \ |