aboutsummaryrefslogtreecommitdiffstats
path: root/src/cg-query.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-12-19 01:47:31 +0100
committerMattias Andrée <maandree@kth.se>2016-12-19 01:47:31 +0100
commit77e0bdb937d0e524d6bbb8116acfde5b13f4ca4a (patch)
tree5e0aace87c25a41487ab74aa0e17919d397d980c /src/cg-query.c
parentAdd cg-linear (diff)
downloadcg-tools-77e0bdb937d0e524d6bbb8116acfde5b13f4ca4a.tar.gz
cg-tools-77e0bdb937d0e524d6bbb8116acfde5b13f4ca4a.tar.bz2
cg-tools-77e0bdb937d0e524d6bbb8116acfde5b13f4ca4a.tar.xz
cg-query, cg-remove: reject unrecognised options
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--src/cg-query.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cg-query.c b/src/cg-query.c
index c2e35eb..23b6349 100644
--- a/src/cg-query.c
+++ b/src/cg-query.c
@@ -414,6 +414,8 @@ int main(int argc, char* argv[])
if ((class[0] == '*') && (class[1] == '\0'))
query.coalesce = 1;
break;
+ default:
+ usage();
}
ARGEND;