From a3f1b217c76165d4e743a01cc22692774093868d Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 8 Nov 2006 15:52:07 +0100 Subject: Document -n/-c +N feature That should make inotail POSIX tail compatible --- inotail.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'inotail.c') diff --git a/inotail.c b/inotail.c index e07f118..fefde0d 100644 --- a/inotail.c +++ b/inotail.c @@ -64,13 +64,16 @@ static const struct option long_opts[] = { static void usage(const int status) { - fprintf(stderr, "Usage: %s [OPTION]... [FILE]...\n\n", PROGRAM_NAME); - fprintf(stderr, " -c N, --bytes=N output the last N bytes\n"); - fprintf(stderr, " -f, --follow output as the file grows\n"); - fprintf(stderr, " -n N, --lines=N output the last N lines (default: %d)\n", DEFAULT_N_LINES); - fprintf(stderr, " -v, --verbose print headers with file names\n"); - fprintf(stderr, " -h, --help show this help and exit\n"); - fprintf(stderr, " -V, --version show version and exit\n"); + fprintf(stderr, "Usage: %s [OPTION]... [FILE]...\n\n" + " -c N, --bytes=N output the last N bytes\n" + " -f, --follow output as the file grows\n" + " -n N, --lines=N output the last N lines (default: %d)\n" + " -v, --verbose print headers with file names\n" + " -h, --help show this help and exit\n" + " -V, --version show version and exit\n\n" + "If the first character of N (the number of bytes or lines) is a `+',\n" + "begin printing with the Nth item from the start of each file, otherwise,\n" + "print the last N items in the file.\n", PROGRAM_NAME, DEFAULT_N_LINES); exit(status); } -- cgit v1.2.3-54-g00ecf '>summaryrefslogtreecommitdiff
path: root/Documentation/translations
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/translations')