summaryrefslogtreecommitdiffstats
path: root/misc-utils/wipefs.c
diff options
context:
space:
mode:
authorBill Pemberton2015-12-10 16:02:34 +0100
committerKarel Zak2015-12-11 11:05:45 +0100
commit11290b849fc67eab0752dc43e5c6cb8038195a8a (patch)
tree0795851d2ac52e0cb2c90c92aa5b2ce501979052 /misc-utils/wipefs.c
parentlsblk: tiny man page update for --sort (diff)
downloadkernel-qcow2-util-linux-11290b849fc67eab0752dc43e5c6cb8038195a8a.tar.gz
kernel-qcow2-util-linux-11290b849fc67eab0752dc43e5c6cb8038195a8a.tar.xz
kernel-qcow2-util-linux-11290b849fc67eab0752dc43e5c6cb8038195a8a.zip
wipefs: Allow b to be used as the short option for backup
'b' is documented as the short option for backup but b was not added to the optstring on the getopt_long call. Add it. Signed-off-by: Bill Pemberton <wfp5p@worldbroken.com>
Diffstat (limited to 'misc-utils/wipefs.c')
-rw-r--r--misc-utils/wipefs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-utils/wipefs.c b/misc-utils/wipefs.c
index 589f53503..594894447 100644
--- a/misc-utils/wipefs.c
+++ b/misc-utils/wipefs.c
@@ -504,7 +504,7 @@ main(int argc, char **argv)
textdomain(PACKAGE);
atexit(close_stdout);
- while ((c = getopt_long(argc, argv, "afhno:pqt:V", longopts, NULL)) != -1) {
+ while ((c = getopt_long(argc, argv, "abfhno:pqt:V", longopts, NULL)) != -1) {
err_exclusive_options(c, longopts, excl, excl_st);