summaryrefslogtreecommitdiffstats
path: root/partx/partx.c
diff options
context:
space:
mode:
authorDavidlohr Bueso2011-11-02 16:22:44 +0100
committerKarel Zak2011-11-02 16:22:44 +0100
commit4ded382332149a9608252c6f2f62c8b2db78a0f1 (patch)
tree018629774b4c8a0a3753332068563675070ad554 /partx/partx.c
parentlsblk: remove __NCOLUMNS (diff)
downloadkernel-qcow2-util-linux-4ded382332149a9608252c6f2f62c8b2db78a0f1.tar.gz
kernel-qcow2-util-linux-4ded382332149a9608252c6f2f62c8b2db78a0f1.tar.xz
kernel-qcow2-util-linux-4ded382332149a9608252c6f2f62c8b2db78a0f1.zip
partx: use USAGE_ macros
Signed-off-by: Davidlohr Bueso <dave@gnu.org> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'partx/partx.c')
-rw-r--r--partx/partx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/partx/partx.c b/partx/partx.c
index 47cc65a25..d2fde3f4e 100644
--- a/partx/partx.c
+++ b/partx/partx.c
@@ -604,7 +604,7 @@ static void __attribute__((__noreturn__)) usage(FILE *out)
{
size_t i;
- fputs(_("\nUsage:\n"), out);
+ fputs(USAGE_HEADER, out);
fprintf(out,
_(" %s [-a|-d|-s] [--nr <n:m> | <partition>] <disk>\n"),
program_invocation_short_name);
@@ -629,7 +629,7 @@ static void __attribute__((__noreturn__)) usage(FILE *out)
for (i = 0; i < NCOLS; i++)
fprintf(out, " %10s %s\n", infos[i].name, _(infos[i].help));
- fprintf(out, _("\nFor more information see partx(8).\n"));
+ fprintf(out, USAGE_MAN_TAIL("partx(8)"));
exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS);
}