diff --git a/scripts/config b/scripts/config
index 608d7fdb13e8d6ac901eaf99cc3b1b5df0a7cc95..dfd4732f7099c588411035589da5ed9f3c87b738 100755
--- a/scripts/config
+++ b/scripts/config
@@ -86,7 +86,7 @@ while [ "$1" != "" ] ; do
 		B=$ARG
 		shift 2
 		;;
-	--*)
+	-*)
 		checkarg "$1"
 		shift
 		;;