summaryrefslogtreecommitdiffstats
path: root/text-utils
diff options
context:
space:
mode:
authorSami Kerola2014-09-28 21:51:40 +0200
committerKarel Zak2014-10-01 12:33:24 +0200
commita587cc55209c1bed49f6573aa00f652fcd276bbb (patch)
tree8a585f99055bd8a714f308a2f2fd89afb814148f /text-utils
parenttextual: use version printing macro everywhere (diff)
downloadkernel-qcow2-util-linux-a587cc55209c1bed49f6573aa00f652fcd276bbb.tar.gz
kernel-qcow2-util-linux-a587cc55209c1bed49f6573aa00f652fcd276bbb.tar.xz
kernel-qcow2-util-linux-a587cc55209c1bed49f6573aa00f652fcd276bbb.zip
textual: use manual tail usage() macro
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'text-utils')
-rw-r--r--text-utils/col.c1
-rw-r--r--text-utils/colcrt.c1
-rw-r--r--text-utils/colrm.c1
-rw-r--r--text-utils/rev.c2
-rw-r--r--text-utils/tailf.c1
5 files changed, 5 insertions, 1 deletions
diff --git a/text-utils/col.c b/text-utils/col.c
index 9b2f570ca..1218f251a 100644
--- a/text-utils/col.c
+++ b/text-utils/col.c
@@ -145,6 +145,7 @@ static void __attribute__((__noreturn__)) usage(FILE *out)
"%s reads from standard input and writes to standard output\n\n"),
program_invocation_short_name);
+ fprintf(out, USAGE_MAN_TAIL("col(1)"));
exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS);
}
diff --git a/text-utils/colcrt.c b/text-utils/colcrt.c
index a5d597701..c39c8b6f1 100644
--- a/text-utils/colcrt.c
+++ b/text-utils/colcrt.c
@@ -319,5 +319,6 @@ static void __attribute__ ((__noreturn__)) usage(FILE * out)
" -V, --version output version information and exit\n"
" -h, --help display this help and exit\n\n"));
+ fprintf(out, USAGE_MAN_TAIL("colcrt(1)"));
exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS);
}
diff --git a/text-utils/colrm.c b/text-utils/colrm.c
index 111033df7..f67524a6a 100644
--- a/text-utils/colrm.c
+++ b/text-utils/colrm.c
@@ -67,6 +67,7 @@ static void __attribute__ ((__noreturn__)) usage(FILE * out)
fprintf(out, _("%s reads from standard input and writes to standard output\n\n"),
program_invocation_short_name);
+ fprintf(out, USAGE_MAN_TAIL("colrm(1)"));
exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS);
}
diff --git a/text-utils/rev.c b/text-utils/rev.c
index a661f0a43..60ad7521b 100644
--- a/text-utils/rev.c
+++ b/text-utils/rev.c
@@ -81,7 +81,7 @@ static void __attribute__ ((__noreturn__)) usage(FILE * out)
" -V, --version output version information and exit\n"
" -h, --help display this help and exit\n"));
- fprintf(out, _("\nFor more information see rev(1).\n"));
+ fprintf(out, USAGE_MAN_TAIL("rev(1)"));
exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS);
}
diff --git a/text-utils/tailf.c b/text-utils/tailf.c
index 94f999ea8..bd38da274 100644
--- a/text-utils/tailf.c
+++ b/text-utils/tailf.c
@@ -205,6 +205,7 @@ static void __attribute__ ((__noreturn__)) usage(FILE *out)
" -V, --version output version information and exit\n"
" -h, --help display this help and exit\n\n"));
+ fprintf(out, USAGE_MAN_TAIL("tailf(1)"));
exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS);
}