From: Karel Zak Date: Tue, 16 Aug 2011 11:25:28 +0000 (+0200) Subject: mountpoint: cleanup usage() X-Git-Tag: v2.20-rc2~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4f92adb61a023f79b73cf5971860d3a4097aef99;p=thirdparty%2Futil-linux.git mountpoint: cleanup usage() Signed-off-by: Karel Zak --- 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"));