diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2013-03-26 15:21:54 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-03-26 15:21:54 +1000 |
commit | 109ce14ae11f6a6afb66ddc683c7071ebbf9d352 (patch) | |
tree | 37d1f7f340b33c128e6b1db4af19db5fcfbb02c5 | |
parent | eb5f086f29ed5e45cbbaad73a04a7275ab119d03 (diff) |
syndaemon: list -? in help/man page
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | man/syndaemon.man | 4 | ||||
-rw-r--r-- | tools/syndaemon.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/man/syndaemon.man b/man/syndaemon.man index a9d69b0..87691d8 100644 --- a/man/syndaemon.man +++ b/man/syndaemon.man @@ -61,6 +61,10 @@ Like \-k but also ignore Modifier+Key combos. \fB\-R\fP Use the XRecord extension for detecting keyboard activity instead of polling the keyboard state. +.LP +.TP +\fB\-?\fP +Show the help message. .SH "ENVIRONMENT VARIABLES" .LP .TP 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; |