aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-05-13 08:44:23 -0400
committerRalph Amissah <ralph@amissah.com>2010-05-13 08:44:23 -0400
commita7e63d1489cd70d096e4ff14bbaa6023cbc4c857 (patch)
treee9e0f90be6719f54cd7b639ef81970a02d7cef61
parentupdate: changelog, version (2.3.4) (diff)
urls, screen output controlsisu_2.3.4
-rw-r--r--lib/sisu/v2/urls.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sisu/v2/urls.rb b/lib/sisu/v2/urls.rb
index 01e8e657..56b93a78 100644
--- a/lib/sisu/v2/urls.rb
+++ b/lib/sisu/v2/urls.rb
@@ -123,8 +123,7 @@ module SiSU_urls
end
def songsheet
begin
- urls_all if @opt.cmd=~/U/
- urls_select unless @opt.cmd=~/q/
+ @opt.cmd=~/U/ ? urls_all : (urls_select unless @opt.cmd=~/q/)
rescue; SiSU_Errors::Info_error.new($!,$@,@opt.cmd,@opt.fns).error
ensure
end