aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/hub.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-05-01 10:25:55 -0400
committerRalph Amissah <ralph@amissah.com>2010-05-01 10:25:55 -0400
commit24469afbbe17cb840c301e2ccc9f083d367b3ac8 (patch)
tree27ca76f8d91310b6ed9196ea31dad5498b984865 /lib/sisu/v2/hub.rb
parent*{emphasis}* display configurable as being bold, italics or underscore (diff)
urls, screen info control tuning
Diffstat (limited to 'lib/sisu/v2/hub.rb')
-rw-r--r--lib/sisu/v2/hub.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/sisu/v2/hub.rb b/lib/sisu/v2/hub.rb
index b54ebc51..36470fd1 100644
--- a/lib/sisu/v2/hub.rb
+++ b/lib/sisu/v2/hub.rb
@@ -173,8 +173,9 @@ module SiSU
end
end
@n_do=@n_do+1
- tell=SiSU_Screen::Ansi.new(@opt.cmd,@n_do,"#{@req.upcase} processed")
- tell.files_processed unless @opt.cmd =~/q/
+ unless @opt.cmd =~/q/
+ SiSU_Screen::Ansi.new(@opt.cmd,@n_do,"#{@req.upcase} processed").files_processed if @opt.cmd =~/[MVv]/
+ end
end
else Operations.new(@opt).not_found
end
@@ -489,7 +490,7 @@ p "here #{__FILE__} #{__LINE__}" if @opt =~/M/
end
else
end
- if @opt.cmd =~/[QuUvVM]/; op('urls','urls') #% -Q -u -v -V -M urls
+ unless @opt.cmd =~/[q]/; op('urls','urls') #% unless -q
end
@msg,@msgs="\tsisu -W [to start ruby web-server on output directory]\n",nil
@tell.call.print_brown if @opt.cmd =~/[uUvVM]/ unless @opt.files.join.empty?