summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inotail.110
-rw-r--r--inotail.c8
2 files changed, 9 insertions, 9 deletions
diff --git a/inotail.1 b/inotail.1
index bae59ee..27d17d6 100644
--- a/inotail.1
+++ b/inotail.1
@@ -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
diff --git a/inotail.c b/inotail.c
index 7902b18..e5ecf89 100644
--- a/inotail.c
+++ b/inotail.c
@@ -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);
}