From 744448fd0560589393c457cdb8b86466ca241d99 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 6 Aug 2016 17:46:38 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/cg-query.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v1.2.3-70-g09d2