summaryrefslogtreecommitdiffstats
path: root/misc-utils/wipefs.c
diff options
context:
space:
mode:
authorKarel Zak2013-03-19 22:53:16 +0100
committerKarel Zak2013-03-19 22:53:16 +0100
commit38db00f17824f41679c99a6c711a11e4585a0484 (patch)
tree2380c498521e147ced8c7976b05de7e0f892c273 /misc-utils/wipefs.c
parentdocs: add wipefs feature request to TODO (diff)
downloadkernel-qcow2-util-linux-38db00f17824f41679c99a6c711a11e4585a0484.tar.gz
kernel-qcow2-util-linux-38db00f17824f41679c99a6c711a11e4585a0484.tar.xz
kernel-qcow2-util-linux-38db00f17824f41679c99a6c711a11e4585a0484.zip
wipefs: add -f to getopt_long()
Reported-by: Dan HorĂ¡k <dhorak@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.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 9fbfda996..56024301e 100644
--- a/misc-utils/wipefs.c
+++ b/misc-utils/wipefs.c
@@ -413,7 +413,7 @@ main(int argc, char **argv)
textdomain(PACKAGE);
atexit(close_stdout);
- while ((c = getopt_long(argc, argv, "ahno:pqt:V", longopts, NULL)) != -1) {
+ while ((c = getopt_long(argc, argv, "afhno:pqt:V", longopts, NULL)) != -1) {
err_exclusive_options(c, longopts, excl, excl_st);