From 4f92adb61a023f79b73cf5971860d3a4097aef99 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 16 Aug 2011 13:25:28 +0200 Subject: [PATCH] mountpoint: cleanup usage() Signed-off-by: Karel Zak --- sys-utils/mountpoint.c | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/sys-utils/mountpoint.c b/sys-utils/mountpoint.c index 6fa26d0d73..f66836885a 100644 --- a/sys-utils/mountpoint.c +++ b/sys-utils/mountpoint.c @@ -76,18 +76,16 @@ static int print_devno(const char *devname, struct stat *st) static void __attribute__((__noreturn__)) usage(FILE *out) { - fprintf(out, _("Usage:\n" - " %1$s [-qd] /path/to/directory\n" - " %1$s -x /dev/device\n"), - program_invocation_short_name); - - fprintf(out, _( - "\nOptions:\n" - " -q, --quiet quiet mode - don't print anything\n" - " -d, --fs-devno print maj:min device number of the filesystem\n" - " -x, --devno print maj:min device number of the block device\n" - " -h, --help this help\n" - )); + fputs(_("\nUsage:\n"), out); + fprintf(out, + _(" %1$s [-qd] /path/to/directory\n" + " %1$s -x /dev/device\n"), program_invocation_short_name); + + fputs(_("\nOptions:\n"), out); + fputs(_(" -q, --quiet quiet mode - don't print anything\n" + " -d, --fs-devno print maj:min device number of the filesystem\n" + " -x, --devno print maj:min device number of the block device\n" + " -h, --help this help\n"), out); fprintf(out, _("\nFor more information see mountpoint(1).\n")); -- 2.47.2