diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-10-23 23:40:45 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-10-23 23:40:45 -0400 |
commit | edd89902036bde18c91031470e19c871a182cf6d (patch) | |
tree | 1269e7b1660aa64896fc21768002e837233c2c24 /lib/sisu/v5/html_promo.rb | |
parent | v4 v5: version & changelog (diff) |
v5: options & downstream, more use of opt.act instead of opt.cmd
* opt.act.*.set==:on instead of opt.cmd =~/\S/
Diffstat (limited to 'lib/sisu/v5/html_promo.rb')
-rw-r--r-- | lib/sisu/v5/html_promo.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v5/html_promo.rb b/lib/sisu/v5/html_promo.rb index cd57e5fd..8b26a689 100644 --- a/lib/sisu/v5/html_promo.rb +++ b/lib/sisu/v5/html_promo.rb @@ -416,7 +416,7 @@ WOK end end else - SiSU_Screen::Ansi.new(@md.opt.cmd,"*WARN* category not found: #{category}").warn unless @md.opt.cmd =~/q/ + SiSU_Screen::Ansi.new(@md.opt.act[:color_state][:set],"*WARN* category not found: #{category}").warn unless @md.opt.act[:quiet][:set]==:on end adverts.join end |