aboutsummaryrefslogtreecommitdiff
path: root/bin/rfc
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rfc')
-rwxr-xr-xbin/rfc14
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/rfc b/bin/rfc
index fd36ac7..a3f71ef 100755
--- a/bin/rfc
+++ b/bin/rfc
@@ -92,33 +92,33 @@ check_local_db() {
for flag in "$@"; do
case "$flag" in
- --)
+ (--)
break
;;
- --help)
+ (--help)
usage
help
exit
;;
- *)
+ (*)
;;
esac
done
while getopts 'wuh' flag; do
case "$flag" in
- w)
+ (w)
WHERE=true
;;
- u)
+ (u)
UPDATE=true
;;
- h)
+ (h)
usage
help
exit
;;
- *)
+ (*)
usage >&2
exit 2
;;