wipefs: Allow b to be used as the short option for backup
PATCH 1/1 wipefs: Allow b to be used as the short option for backup
From: Bill Pemberton <[email protected]>
'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 <[email protected]>
--- misc-utils/wipefs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
misc-utils/wipefs.c +1 -1
@@ -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);
Signature · 1 line
2.5.0
Quoted 2 lines · On Thu, Dec 10, 2015 at 10:02:34AM -0500, [email protected] wrote:
misc-utils/wipefs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com