]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
uuidgen: slice up the usage text
authorSami Kerola <kerolasa@iki.fi>
Sun, 21 May 2017 16:47:39 +0000 (17:47 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 14 Jun 2017 10:17:53 +0000 (12:17 +0200)
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
misc-utils/uuidgen.c

index 911fead72e35e3be1b69fcc262ace85e0e027c04..4c1d47d5e163c69b9615e72025989f10f489ccee 100644 (file)
@@ -28,11 +28,11 @@ static void __attribute__ ((__noreturn__)) usage(FILE * out)
        fputs(_("Create a new UUID value.\n"), out);
 
        fputs(USAGE_OPTIONS, out);
-       fputs(_(" -r, --random     generate random-based uuid\n"
-               " -t, --time       generate time-based uuid\n"
-               " -V, --version    output version information and exit\n"
-               " -h, --help       display this help and exit\n\n"), out);
-
+       fputs(_(" -r, --random     generate random-based uuid\n"), out);
+       fputs(_(" -t, --time       generate time-based uuid\n"), out);
+       fputs(USAGE_SEPARATOR, out);
+       fputs(USAGE_HELP, out);
+       fputs(USAGE_VERSION, out);
        fprintf(out, USAGE_MAN_TAIL("uuidgen(1)"));
        exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS);
 }