aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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