aboutsummaryrefslogtreecommitdiff
path: root/bin/lc
diff options
context:
space:
mode:
Diffstat (limited to 'bin/lc')
-rwxr-xr-xbin/lc10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/lc b/bin/lc
index 993e7bc..1f7eae6 100755
--- a/bin/lc
+++ b/bin/lc
@@ -39,27 +39,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
;;