From bec24244d8d93069bbb7e6e83b82de090541e253 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 15 Dec 2015 16:49:32 +1300 Subject: Consistent usage output --- bin/sue | 4 ++-- bin/vis | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'bin') 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 -- cgit v1.2.3