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:
17e6d42
)
btrfs-progs: fsck: understand the -s option
author
David Sterba
<dsterba@suse.cz>
Tue, 17 Jul 2012 10:41:13 +0000
(12:41 +0200)
committer
David Sterba
<dsterba@suse.cz>
Tue, 2 Oct 2012 11:02:41 +0000
(13:02 +0200)
Short options have to be repeated at the getopt_long call.
Signed-off-by: David Sterba <dsterba@suse.cz>
btrfsck.c
patch
|
blob
|
history
diff --git
a/btrfsck.c
b/btrfsck.c
index
088b9f4
..
2e81adc
100644
(file)
--- a/
btrfsck.c
+++ b/
btrfsck.c
@@
-3499,7
+3499,7
@@
int main(int ac, char **av)
while(1) {
int c;
- c = getopt_long(ac, av, "", long_options,
+ c = getopt_long(ac, av, "
s:
", long_options,
&option_index);
if (c < 0)
break;