diff options
author | Ori Bernstein <ori@eigenstate.org> | 2020-03-10 10:09:34 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2020-03-10 10:09:34 -0700 |
commit | 5bc9b0c3cac34864d479c099283793ec4ae5565e (patch) | |
tree | 943d06d59dfd6c13cc0a724a3118d5099b264884 /rc/bin/sig | |
parent | 06ea44c895a5f97b7b9b65fce84dec2700f443fb (diff) |
improve usage messages (thanks henesy)
Fix inconsistencies between programs and their usage
messages, correct instances where information seems
to be missing or lost. This includes missing arguments,
making usage consistent with manuals, and so on.
Diffstat (limited to 'rc/bin/sig')
-rwxr-xr-x | rc/bin/sig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rc/bin/sig b/rc/bin/sig index 56125ab17..918161641 100755 --- a/rc/bin/sig +++ b/rc/bin/sig @@ -5,8 +5,8 @@ *=`{echo $*|tr A-Z a-z|tr -dc 'a-z0-9_ \012'} # fold case, delete funny chars if(~ $#* 0){ - echo Usage: sig function ... >/fd/2 - exit 1 + echo usage: sig function ... >/fd/2 + exit usage } for (i) { |