diff mbox series

btrfs-progs: check: fix option parsing for -E

Message ID 20190728064735.15979-1-kilobyte@angband.pl (mailing list archive)
State New, archived
Headers show
Series btrfs-progs: check: fix option parsing for -E | expand

Commit Message

Adam Borowski July 28, 2019, 6:47 a.m. UTC
> On Mon, Jun 17, 2019 at 06:45:48PM +0200, Adam Borowski wrote:
> > It has a mandatory argument, thus it always crashed.
>
> Applied, thanks.

Seems like this has fallen through the cracks -- could you please re-apply?

--8x--8x--8x--8x--8x--8x--8x--8x--8x--8x--8x--8x--8x--8x--8x--8x--8x--8x--8x--

It has a mandatory argument, thus it always crashed.

Signed-off-by: Adam Borowski <kilobyte@angband.pl>
---
 check/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

David Sterba July 30, 2019, 5:33 p.m. UTC | #1
On Sun, Jul 28, 2019 at 08:47:36AM +0200, Adam Borowski wrote:
> > On Mon, Jun 17, 2019 at 06:45:48PM +0200, Adam Borowski wrote:
> > > It has a mandatory argument, thus it always crashed.
> >
> > Applied, thanks.
> 
> Seems like this has fallen through the cracks -- could you please re-apply?

Dunno why it got lost, applied again, thanks.
diff mbox series

Patch

diff --git a/check/main.c b/check/main.c
index 0cc6fdba..866da8dc 100644
--- a/check/main.c
+++ b/check/main.c
@@ -9867,7 +9867,7 @@  static int cmd_check(const struct cmd_struct *cmd, int argc, char **argv)
 			{ NULL, 0, NULL, 0}
 		};
 
-		c = getopt_long(argc, argv, "as:br:pEQ", long_options, NULL);
+		c = getopt_long(argc, argv, "as:br:pE:Q", long_options, NULL);
 		if (c < 0)
 			break;
 		switch(c) {