From: Davidlohr Bueso <dave@xxxxxxx> Signed-off-by: Davidlohr Bueso <dave@xxxxxxx> --- partx/partx.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/partx/partx.c b/partx/partx.c index b12eebc..c730e37 100644 --- a/partx/partx.c +++ b/partx/partx.c @@ -604,7 +604,8 @@ static void __attribute__((__noreturn__)) usage(FILE *out) { int 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 +630,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); } -- 1.7.7 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html