summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2013-03-26 15:21:54 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2013-03-26 15:21:54 +1000
commit109ce14ae11f6a6afb66ddc683c7071ebbf9d352 (patch)
tree37d1f7f340b33c128e6b1db4af19db5fcfbb02c5 /tools
parenteb5f086f29ed5e45cbbaad73a04a7275ab119d03 (diff)
syndaemon: list -? in help/man page
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools')
-rw-r--r--tools/syndaemon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/syndaemon.c b/tools/syndaemon.c
index 50b7435..29e75f5 100644
--- a/tools/syndaemon.c
+++ b/tools/syndaemon.c
@@ -88,6 +88,7 @@ usage(void)
fprintf(stderr, " -K Like -k but also ignore Modifier+Key combos.\n");
fprintf(stderr, " -R Use the XRecord extension.\n");
fprintf(stderr, " -v Print diagnostic messages.\n");
+ fprintf(stderr, " -? Show this help message.\n");
exit(1);
}
@@ -576,6 +577,7 @@ main(int argc, char *argv[])
case 'v':
verbose = 1;
break;
+ case '?':
default:
usage();
break;