aboutsummaryrefslogtreecommitdiff
path: root/unsaver.c
diff options
context:
space:
mode:
Diffstat (limited to 'unsaver.c')
-rw-r--r--unsaver.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/unsaver.c b/unsaver.c
index a612ff2..ec502df 100644
--- a/unsaver.c
+++ b/unsaver.c
@@ -1,3 +1,7 @@
+/* unsaver, by B. Watson, released under the WTFPL.
+ the latest version of this file can be found at:
+ http://urchlay.naptime.net/repos/unsaver/ */
+
/* need this, or else we don't get a prototype for strdup() from string.h */
#define _XOPEN_SOURCE 500
@@ -77,10 +81,10 @@ struct inotify_event *inotify_ev = (struct inotify_event *)inotify_buf;
/* not going to include pages of usage info duplicating the man page */
void usage(void) {
printf(PROJ " v" VERSION " by B. Watson, WTFPL\n");
- printf("Usage: %s [-i interval] [-m | -b button | -k keycode | -c command | -x]\n", self);
- printf(" [-j | -f ] [-d] [inputdir] [joystick [...]]\n");
+ printf("Usage: %s [-i interval] [-k keycode | -b button | -m | -c command | -x]\n", self);
+ printf(" [-j | -f ] [-d] [joystick [...]]\n");
printf("Built-in defaults: MAX_STICKS=%d, -d " EVENTDIR ", -j " JSNODE "\n", MAX_STICKS);
- printf("See man page for details\n");
+ printf("See man page for details.\n");
exit(0);
}