* [PATCH] wipefs: Allow b to be used as the short option for backup
@ 2015-12-10 15:02 wfp5p
2015-12-14 9:36 ` Karel Zak
0 siblings, 1 reply; 2+ messages in thread
From: wfp5p @ 2015-12-10 15:02 UTC (permalink / raw)
To: util-linux
From: Bill Pemberton <wfp5p@worldbroken.com>
'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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/misc-utils/wipefs.c b/misc-utils/wipefs.c
index 589f53503847..594894447e63 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);
--
2.5.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-12-14 9:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-10 15:02 [PATCH] wipefs: Allow b to be used as the short option for backup wfp5p
2015-12-14 9:36 ` Karel Zak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox