summaryrefslogtreecommitdiffstats
path: root/misc-utils/uuidgen.c
diff options
context:
space:
mode:
authorSami Kerola2017-05-21 18:47:39 +0200
committerKarel Zak2017-06-14 12:17:53 +0200
commit504c03ecf8d5f205e740cd698a1c3b6d3303cb12 (patch)
tree49c649b0f3d3693fdea968a9b8b1d7437db3bc7d /misc-utils/uuidgen.c
parentrename: notice when expression and replacement are the same string (diff)
downloadkernel-qcow2-util-linux-504c03ecf8d5f205e740cd698a1c3b6d3303cb12.tar.gz
kernel-qcow2-util-linux-504c03ecf8d5f205e740cd698a1c3b6d3303cb12.tar.xz
kernel-qcow2-util-linux-504c03ecf8d5f205e740cd698a1c3b6d3303cb12.zip
uuidgen: slice up the usage text
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'misc-utils/uuidgen.c')
-rw-r--r--misc-utils/uuidgen.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/misc-utils/uuidgen.c b/misc-utils/uuidgen.c
index 911fead72..4c1d47d5e 100644
--- a/misc-utils/uuidgen.c
+++ b/misc-utils/uuidgen.c
@@ -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);
}