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>
This commit is contained in:
parent
a67efe4362
commit
80852c3c3f
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue