summaryrefslogtreecommitdiffstats
path: root/misc-utils/wipefs.c
diff options
context:
space:
mode:
authorRuediger Meier2017-06-25 14:49:47 +0200
committerRuediger Meier2017-06-27 12:28:36 +0200
commitb30544549505019f5fc092c5d99fcb1cae1a44b1 (patch)
treeb22fa305e99ed2bfa3bdeb145e8094874b631754 /misc-utils/wipefs.c
parentmisc: introduce print_usage_help_options() (diff)
downloadkernel-qcow2-util-linux-b30544549505019f5fc092c5d99fcb1cae1a44b1.tar.gz
kernel-qcow2-util-linux-b30544549505019f5fc092c5d99fcb1cae1a44b1.tar.xz
kernel-qcow2-util-linux-b30544549505019f5fc092c5d99fcb1cae1a44b1.zip
misc: consolidate all --help option descriptions
Now we are always using the same text also for commands which had still hardcoded descriptions or where we can't use the standard print_usage_help_options macro. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'misc-utils/wipefs.c')
-rw-r--r--misc-utils/wipefs.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/misc-utils/wipefs.c b/misc-utils/wipefs.c
index 0bd53253d..87abba39b 100644
--- a/misc-utils/wipefs.c
+++ b/misc-utils/wipefs.c
@@ -465,16 +465,15 @@ usage(void)
fputs(_(" -a, --all wipe all magic strings (BE CAREFUL!)\n"
" -b, --backup create a signature backup in $HOME\n"
" -f, --force force erasure\n"
- " -h, --help show this help text\n"
" -n, --no-act do everything except the actual write() call\n"
" -o, --offset <num> offset to erase, in bytes\n"
" -p, --parsable print out in parsable instead of printable format\n"
" -q, --quiet suppress output messages\n"
" -t, --types <list> limit the set of filesystem, RAIDs or partition tables\n"
- " -V, --version output version information and exit\n"), out);
+ ), out);
+ print_usage_help_options(21);
fprintf(out, USAGE_MAN_TAIL("wipefs(8)"));
-
exit(EXIT_SUCCESS);
}