diff options
Diffstat (limited to 'bin/stopwatch')
-rwxr-xr-x | bin/stopwatch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/stopwatch b/bin/stopwatch index 14182d2..88c5848 100755 --- a/bin/stopwatch +++ b/bin/stopwatch @@ -32,27 +32,27 @@ help() { for flag in "$@"; do case "$flag" in - --) + (--) break ;; - --help) + (--help) usage help exit ;; - *) + (*) ;; esac done while getopts 'h' flag; do case "$flag" in - h) + (h) usage help exit ;; - *) + (*) usage >&2 exit 2 ;; |