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>
This commit is contained in:
David Sterba 2012-07-17 12:41:13 +02:00
parent 17e6d421a9
commit 45e9ec733d

View file

@ -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;