aboutsummaryrefslogtreecommitdiff
path: root/bin/mnt
diff options
context:
space:
mode:
Diffstat (limited to 'bin/mnt')
-rwxr-xr-xbin/mnt10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/mnt b/bin/mnt
index c8765c2..1e411cb 100755
--- a/bin/mnt
+++ b/bin/mnt
@@ -35,15 +35,15 @@ help() {
for flag in "$@"; do
case "$flag" in
- --)
+ (--)
break
;;
- --help)
+ (--help)
usage
help
exit
;;
- *)
+ (*)
;;
esac
done
@@ -53,12 +53,12 @@ while getopts 'U:h' flag; do
U)
UUID="$OPTARG"
;;
- h)
+ (h)
usage
help
exit
;;
- *)
+ (*)
usage >&2
exit 2
;;