aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cg-query.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cg-query.c b/src/cg-query.c
index 490eb8e..881b6bf 100644
--- a/src/cg-query.c
+++ b/src/cg-query.c
@@ -417,6 +417,9 @@ int main(int argc, char* argv[])
}
ARGEND;
+ if (argc)
+ usage();
+
if (initialise_proc() < 0)
goto fail;