linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] btrfs-progs: fix option handling for some commands
@ 2017-08-24  5:18 Misono, Tomohiro
  2017-08-24  5:24 ` [PATCH 2/3] " Misono, Tomohiro
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Misono, Tomohiro @ 2017-08-24  5:18 UTC (permalink / raw)
  To: linux-btrfs

I found some btrfs commands options are not working because of 
inappropriate getopt_long() setting.

This fixes "btrfs check -Q/-E"

Signed-off-by: Tomohiro Misono <misono.tomohiro@jp.fujitsu.com>
---
  cmds-check.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmds-check.c b/cmds-check.c
index c5faa2b..465fd17 100644
--- a/cmds-check.c
+++ b/cmds-check.c
@@ -12745,7 +12745,7 @@ int cmd_check(int argc, char **argv)
  			{ NULL, 0, NULL, 0}
  		};

-		c = getopt_long(argc, argv, "as:br:p", long_options, NULL);
+		c = getopt_long(argc, argv, "as:br:pQE:", long_options, NULL);
  		if (c < 0)
  			break;
  		switch(c) {
-- 
2.9.4


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-08-24 17:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-24  5:18 [PATCH 1/3] btrfs-progs: fix option handling for some commands Misono, Tomohiro
2017-08-24  5:24 ` [PATCH 2/3] " Misono, Tomohiro
2017-08-24  5:25 ` [PATCH 3/3] " Misono, Tomohiro
2017-08-24  6:06 ` [PATCH] btrfs-progs: change document in accordance with usage info Misono, Tomohiro
2017-08-24 17:18 ` [PATCH 1/3] btrfs-progs: fix option handling for some commands David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).