summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2012-07-17 12:41:13 +0200
committerDavid Sterba <dsterba@suse.cz>2012-10-02 13:02:41 +0200
commit45e9ec733deb73672c9bae3b1adf50f44bc8ae0c (patch)
treed43ce4241121d7939cab9166cc01fee5796aa6f1
parent17e6d421a9f9504d19dd0b1e114f88f9824fbb51 (diff)
btrfs-progs: fsck: understand the -s option
Short options have to be repeated at the getopt_long call. Signed-off-by: David Sterba <dsterba@suse.cz>
-rw-r--r--btrfsck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/btrfsck.c b/btrfsck.c
index 088b9f42..2e81adcf 100644
--- 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;