projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a67efe4
)
btrfs-progs: check: add missing short options E and Q to getopt
author
Misono, Tomohiro
<misono.tomohiro@jp.fujitsu.com>
Thu, 24 Aug 2017 05:18:25 +0000
(14:18 +0900)
committer
David Sterba
<dsterba@suse.com>
Thu, 24 Aug 2017 17:12:33 +0000
(19:12 +0200)
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>
cmds-check.c
patch
|
blob
|
history
diff --git
a/cmds-check.c
b/cmds-check.c
index
acd22f0
..
f6320b2
100644
(file)
--- 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:p
EQ
", long_options, NULL);
if (c < 0)
break;
switch(c) {