aboutsummaryrefslogtreecommitdiff
path: root/bin/without-env
diff options
context:
space:
mode:
Diffstat (limited to 'bin/without-env')
-rwxr-xr-xbin/without-env10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/without-env b/bin/without-env
index 4e7ed15..99fe884 100755
--- a/bin/without-env
+++ b/bin/without-env
@@ -42,27 +42,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
;;