aboutsummaryrefslogtreecommitdiff
path: root/bin/mkdtemp
diff options
context:
space:
mode:
Diffstat (limited to 'bin/mkdtemp')
-rwxr-xr-xbin/mkdtemp10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/mkdtemp b/bin/mkdtemp
index 9c5f8c8..8e5fb48 100755
--- a/bin/mkdtemp
+++ b/bin/mkdtemp
@@ -31,27 +31,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
;;