From 45e9ec733deb73672c9bae3b1adf50f44bc8ae0c Mon Sep 17 00:00:00 2001 From: David Sterba Date: Tue, 17 Jul 2012 12:41:13 +0200 Subject: [PATCH] btrfs-progs: fsck: understand the -s option Short options have to be repeated at the getopt_long call. Signed-off-by: David Sterba --- btrfsck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.7.4