From: Bill Pemberton Date: Thu, 10 Dec 2015 15:02:34 +0000 (-0500) Subject: wipefs: Allow b to be used as the short option for backup X-Git-Tag: v2.28-rc1~223 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=11290b849fc67eab0752dc43e5c6cb8038195a8a;p=thirdparty%2Futil-linux.git 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 --- diff --git a/misc-utils/wipefs.c b/misc-utils/wipefs.c index 589f535038..594894447e 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);