Skip to content

Commit

Permalink
syndaemon: list -? in help/man page
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  • Loading branch information
whot committed Mar 26, 2013
1 parent eb5f086 commit 109ce14
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions man/syndaemon.man
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/syndaemon.c
Expand Up @@ -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);
}

Expand Down Expand Up @@ -576,6 +577,7 @@ main(int argc, char *argv[])
case 'v':
verbose = 1;
break;
case '?':
default:
usage();
break;
Expand Down

0 comments on commit 109ce14

Please sign in to comment.