]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
mountpoint: cleanup usage()
authorKarel Zak <kzak@redhat.com>
Tue, 16 Aug 2011 11:25:28 +0000 (13:25 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 16 Aug 2011 11:25:28 +0000 (13:25 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/mountpoint.c

index 6fa26d0d731beb0c7a7a4c4e33dd011971694a88..f66836885abd6ecefc2c2323dd63641ae7d27834 100644 (file)
@@ -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"));