Revision 11914
Added by Aaron Marcuse-Kubitza almost 11 years ago
lib/sh/util.sh | ||
---|---|---|
396 | 396 |
alias clog++='"log++" ' # last space alias-expands next word |
397 | 397 |
alias clog--='"log--" ' # last space alias-expands next word |
398 | 398 |
|
399 |
verbosity_min() # usage: verbosity_min {min|} # ''->verbosity='' |
|
399 |
verbosity_min() # usage: verbosity_min {<min>|''} |
|
400 |
# WARNING: '' is a special value that causes $verbosity to be overwritten to '' |
|
400 | 401 |
{ if test ! "$1" -o "$(verbosity_int)" -lt "$1"; then verbosity="$1"; fi; } |
401 | 402 |
alias verbosity_min='log_local; "verbosity_min"' |
402 | 403 |
|
Also available in: Unified diff
fix: lib/sh/util.sh: verbosity_min(): usage: clarified that '' is a special value that causes $verbosity to be overwritten to ''