aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-08-06 17:46:38 +0200
committerMattias Andrée <maandree@kth.se>2016-08-06 17:46:38 +0200
commit744448fd0560589393c457cdb8b86466ca241d99 (patch)
treed48c74ffe8b641413c618c3c5713426bc692440c
parentcg-query (diff)
downloadcg-tools-744448fd0560589393c457cdb8b86466ca241d99.tar.gz
cg-tools-744448fd0560589393c457cdb8b86466ca241d99.tar.bz2
cg-tools-744448fd0560589393c457cdb8b86466ca241d99.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
-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;