--- a/src/query/recollq.cpp
+++ b/src/query/recollq.cpp
@@ -170,6 +170,8 @@
             switch (*(*argv)++) {
 	    case '-': 
 		// -- : end of options
+		if (*(*argv) != 0)
+		    Usage();
 		goto endopts;
             case 'A':   op_flags |= OPT_A; break;
             case 'a':   op_flags |= OPT_a; break;