summaryrefslogtreecommitdiffstats
path: root/misc-utils/uuidparse.c
diff options
context:
space:
mode:
authorRuediger Meier2017-06-25 00:19:50 +0200
committerRuediger Meier2017-06-27 12:26:19 +0200
commitb1a294c448582c5571fbf7c0d363357c88154016 (patch)
tree97a83cb04af7879473368edb259781ad02a89272 /misc-utils/uuidparse.c
parentmisc: revert to the old USAGE_HELP strings (diff)
downloadkernel-qcow2-util-linux-b1a294c448582c5571fbf7c0d363357c88154016.tar.gz
kernel-qcow2-util-linux-b1a294c448582c5571fbf7c0d363357c88154016.tar.xz
kernel-qcow2-util-linux-b1a294c448582c5571fbf7c0d363357c88154016.zip
misc: introduce print_usage_help_options()
Consolidate --help and --version descriptions. We are now able to align them to the other options. We changed include/c.h. The rest of this patch was generated by sed, plus manually setting the right alignment numbers. We do not change anything but white spaces in the --help output. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'misc-utils/uuidparse.c')
-rw-r--r--misc-utils/uuidparse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/misc-utils/uuidparse.c b/misc-utils/uuidparse.c
index 0938b8559..c3db4271c 100644
--- a/misc-utils/uuidparse.c
+++ b/misc-utils/uuidparse.c
@@ -105,8 +105,7 @@ static void __attribute__((__noreturn__)) usage(void)
fputs(_(" -r, --raw use the raw output format\n"), stdout);
fputs(USAGE_SEPARATOR, stdout);
- fputs(USAGE_HELP, stdout);
- fputs(USAGE_VERSION, stdout);
+ print_usage_help_options(24);
fputs(USAGE_COLUMNS, stdout);
for (i = 0; i < ARRAY_SIZE(infos); i++)