summaryrefslogtreecommitdiff
path: root/cmds-check.c
diff options
context:
space:
mode:
authorMisono, Tomohiro <misono.tomohiro@jp.fujitsu.com>2017-08-24 14:18:25 +0900
committerDavid Sterba <dsterba@suse.com>2017-08-24 19:12:33 +0200
commit80852c3c3fb44789b3b61eba08d625461274776d (patch)
tree31476380c3f4de2af30c56f3c86226d8b48175f7 /cmds-check.c
parenta67efe43629e68039591c361fe4abd4656e0a71a (diff)
btrfs-progs: check: add missing short options E and Q to getopt
I found some btrfs commands options are not working because of inappropriate getopt_long() setting. This fixes "btrfs check -Q/-E" Signed-off-by: Tomohiro Misono <misono.tomohiro@jp.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-check.c')
-rw-r--r--cmds-check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-check.c b/cmds-check.c
index acd22f0a..f6320b21 100644
--- a/cmds-check.c
+++ b/cmds-check.c
@@ -12762,7 +12762,7 @@ int cmd_check(int argc, char **argv)
{ NULL, 0, NULL, 0}
};
- c = getopt_long(argc, argv, "as:br:p", long_options, NULL);
+ c = getopt_long(argc, argv, "as:br:pEQ", long_options, NULL);
if (c < 0)
break;
switch(c) {