From: David Sterba Date: Tue, 17 Jul 2012 10:41:13 +0000 (+0200) Subject: btrfs-progs: fsck: understand the -s option X-Git-Tag: upstream/4.16.1~3518 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=45e9ec733deb73672c9bae3b1adf50f44bc8ae0c;p=platform%2Fupstream%2Fbtrfs-progs.git btrfs-progs: fsck: understand the -s option Short options have to be repeated at the getopt_long call. Signed-off-by: David Sterba --- diff --git a/btrfsck.c b/btrfsck.c index 088b9f4..2e81adc 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;