diff options
author | Mattias Andrée <maandree@kth.se> | 2016-08-06 17:46:38 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-08-06 17:46:38 +0200 |
commit | 744448fd0560589393c457cdb8b86466ca241d99 (patch) | |
tree | d48c74ffe8b641413c618c3c5713426bc692440c | |
parent | cg-query (diff) | |
download | cg-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.c | 3 |
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; |