From a7e63d1489cd70d096e4ff14bbaa6023cbc4c857 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 13 May 2010 08:44:23 -0400 Subject: urls, screen output control --- lib/sisu/v2/urls.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3