From f9dc0ff67b0404f4727e005c5897a4effd08933a Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 5 May 2010 12:20:42 -0400 Subject: sysenv, sisurc.yml, default shortform command flags * mostly taking out verbose as default, add -v when needed, e.g.: sisu -3v filename.sst --- conf/sisu/v2/sisurc.yml | 14 +++++++------- lib/sisu/v2/sysenv.rb | 12 ++++++------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/conf/sisu/v2/sisurc.yml b/conf/sisu/v2/sisurc.yml index a5c13293..0703e0f4 100644 --- a/conf/sisu/v2/sisurc.yml +++ b/conf/sisu/v2/sisurc.yml @@ -54,13 +54,13 @@ show_output_on: 'filesystem_url' # concord_max: 400000 #% flag - set (non-default) processing flag shortcuts -1, -2 etc. (here adding colour and verbosity as default) flag: - color: true # making colour default -c is toggle, and will now toggle colour off - default: '-NhwpoabxXyYv' # includes verbose; -m would in any event be run by default - i: '-hwpoyv' # includes verbose; -m run by default - ii: '-NhwepoabxXyv' # includes verbose; -m run by default - iii: '-NhwepoabxXyYv' # includes verbose; -m run by default - iv: '-NhwepoabxXYDyv --import' # includes verbose; -m run by default - v: '-NhwepoabxXYDyv --update' # includes verbose; -m run by default + color: true # making colour default -c is toggle, and will now toggle colour off + default: '-NhwepoabxXyYv' # -m run by default; includes verbose + i: '-hwpoay' # -m run by default + ii: '-NhwepoabxXy' # -m run by default + iii: '-NhwepoabxXyY' # -m run by default + iv: '-NhwepoabxXYDy --update' # -m run by default + v: '-NhwepoabxXYDyv --update' # -m run by default; includes verbose #% papersize, (LaTeX/pdf) available values: A4, US_letter, book_b5, book_a5, US_legal default: papersize: 'A4,letter' diff --git a/lib/sisu/v2/sysenv.rb b/lib/sisu/v2/sysenv.rb index f440fd3f..cc21a6c9 100644 --- a/lib/sisu/v2/sysenv.rb +++ b/lib/sisu/v2/sysenv.rb @@ -2113,7 +2113,7 @@ WOK and not (@rc['flag']['default'].nil? \ or @rc['flag']['default'].empty?) @rc['flag']['default'] - else '-NhwepaobxXyYv' + else '-NhwepoabxXyYv' end end def cf_1 #processing flag shortcuts @@ -2121,7 +2121,7 @@ WOK and not (@rc['flag']['i'].nil? \ or @rc['flag']['i'].empty?) @rc['flag']['i'] - else '-hwepoy' + else '-hwepoay' end end def cf_2 #processing flag shortcuts @@ -2129,7 +2129,7 @@ WOK and not (@rc['flag']['ii'].nil? \ or @rc['flag']['ii'].empty?) @rc['flag']['ii'] - else '-NhwepaobxXy' + else '-NhwepoabxXy' end end def cf_3 #processing flag shortcuts @@ -2137,7 +2137,7 @@ WOK and not (@rc['flag']['iii'].nil? \ or @rc['flag']['iii'].empty?) @rc['flag']['iii'] - else '-NhwepaobxXyY' + else '-NhwepoabxXyY' end end def cf_4 #processing flag shortcuts @@ -2145,7 +2145,7 @@ WOK and not (@rc['flag']['iv'].nil? \ or @rc['flag']['iv'].empty?) @rc['flag']['iv'] - else '-NhwepaobxXDyY --import' + else '-NhwepoabxXDyY --update' end end def cf_5 #processing flag shortcuts @@ -2153,7 +2153,7 @@ WOK and not (@rc['flag']['v'].nil? \ or @rc['flag']['v'].empty?) @rc['flag']['v'] - else '-NhwepaobxXDyY --update' + else '-NhwepoabxXDyYv --update' end end end -- cgit v1.2.3