]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
wipefs: Allow b to be used as the short option for backup
authorBill Pemberton <wfp5p@worldbroken.com>
Thu, 10 Dec 2015 15:02:34 +0000 (10:02 -0500)
committerKarel Zak <kzak@redhat.com>
Fri, 11 Dec 2015 10:05:45 +0000 (11:05 +0100)
'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>
misc-utils/wipefs.c

index 589f535038470aa3412541c30cdf918e100ef3c6..594894447e634554d1903d12f8f00b46b4162bef 100644 (file)
@@ -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);