diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2006-08-23 00:09:58 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@xenon.tklauser.home> | 2006-08-23 00:09:58 +0200 |
commit | 987ec073bde3f526584942d926244d3b0f21a529 (patch) | |
tree | d3869024d8a815a307227e19bf58a9851a92bf1c | |
parent | 649c286d7c13f6906e2c5a61b194dcd9f5817788 (diff) |
Unify commandline switch description between binary and manpage
-rw-r--r-- | inotail.1 | 10 | ||||
-rw-r--r-- | inotail.c | 8 |
2 files changed, 9 insertions, 9 deletions
@@ -27,22 +27,22 @@ please set CONFIG_INOTIFY=y in your kernel configuration and recompile it. .SH OPTIONS .TP .B \-c \fIN\fR -print the last N bytes +output the last N bytes .TP .B \-f keep the file(s) open and print appended data as the file grows .TP .B \-n \fIN\fR -print the last N lines (defaults to 10) +output the last N lines (default: 10) .TP .B \-v -Output headers with file names +print headers with file names .TP .B \-h -Show help and exit +show help and exit .TP .B \-V -Show inotail version and exit +show inotail version and exit .SH AUTHOR .PP Written by Tobias Klauser @@ -51,11 +51,11 @@ static void usage(int status) { fprintf(stderr, "Usage: %s [OPTION]... [FILE]...\n\n", PROGRAM_NAME); fprintf(stderr, " -c N output the last N bytes\n"); - fprintf(stderr, " -f output as the file grows (that's were %s differs from pure tail)\n", PROGRAM_NAME); + fprintf(stderr, " -f output as the file grows\n"); fprintf(stderr, " -n N output the last N lines (default: %d)\n", DEFAULT_N_LINES); - fprintf(stderr, " -v Output headers with file names\n"); - fprintf(stderr, " -h Show this help and exit\n"); - fprintf(stderr, " -V Show %s version and exit\n", PROGRAM_NAME); + fprintf(stderr, " -v print headers with file names\n"); + fprintf(stderr, " -h show this help and exit\n"); + fprintf(stderr, " -V show version and exit\n"); exit(status); } |