summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/checkpkg.in2
-rw-r--r--src/diffpkg.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/checkpkg.in b/src/checkpkg.in
index da4c67b..1a7983c 100644
--- a/src/checkpkg.in
+++ b/src/checkpkg.in
@@ -52,7 +52,7 @@ while (( $# )); do
shift
break
;;
- -*,--*)
+ -*|--*)
die "invalid argument: %s" "$1"
;;
*)
diff --git a/src/diffpkg.in b/src/diffpkg.in
index 5bae805..b964d44 100644
--- a/src/diffpkg.in
+++ b/src/diffpkg.in
@@ -129,7 +129,7 @@ while (( $# )); do
shift
break
;;
- -*,--*)
+ -*|--*)
die "invalid argument: %s" "$1"
;;
*)