aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-12-15 16:49:32 +1300
committerTom Ryder <tom@sanctum.geek.nz>2015-12-15 16:49:32 +1300
commitbec24244d8d93069bbb7e6e83b82de090541e253 (patch)
tree9e4e037a28048d2b7eee3c7db0ad29740231faff /bin
parentAdd comment (diff)
downloaddotfiles-bec24244d8d93069bbb7e6e83b82de090541e253.tar.gz
dotfiles-bec24244d8d93069bbb7e6e83b82de090541e253.zip
Consistent usage output
Diffstat (limited to 'bin')
-rwxr-xr-xbin/sue4
-rwxr-xr-xbin/vis4
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/sue b/bin/sue
index b626aafc..faece8b1 100755
--- a/bin/sue
+++ b/bin/sue
@@ -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
diff --git a/bin/vis b/bin/vis
index a2114c5d..07ca8ced 100755
--- a/bin/vis
+++ b/bin/vis
@@ -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