diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-12-15 16:49:32 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-12-15 16:49:32 +1300 |
commit | bec24244d8d93069bbb7e6e83b82de090541e253 (patch) | |
tree | 9e4e037a28048d2b7eee3c7db0ad29740231faff | |
parent | Add comment (diff) | |
download | dotfiles-bec24244d8d93069bbb7e6e83b82de090541e253.tar.gz dotfiles-bec24244d8d93069bbb7e6e83b82de090541e253.zip |
Consistent usage output
-rwxr-xr-x | bin/sue | 4 | ||||
-rwxr-xr-x | bin/vis | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -13,8 +13,8 @@ self=sue # Define a function to show usage usage() { - printf '%s: usage: %s FILE1 [FILE2 ...]\n' \ - "$self" "$self" + printf 'USAGE: %s FILE1 [FILE2 ...]\n' \ + "$self" } # Test the first argument @@ -14,8 +14,8 @@ self=vis # Define a function to show usage usage() { - printf '%s: usage: %s [EDITOR_OPTS] [--] FILE1 [FILE2...]\n' \ - "$self" "$self" + printf 'USAGE: %s [EDITOR_OPTS] [--] FILE1 [FILE2...]\n' \ + "$self" } # Process options, including detecting requests for help |