diff options
Diffstat (limited to 'bin/n-times')
-rwxr-xr-x | bin/n-times | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/n-times b/bin/n-times index 660b734..9a693ce 100755 --- a/bin/n-times +++ b/bin/n-times @@ -33,27 +33,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 ;; |