diff mbox

[2/3] btrfs-progs: fix option handling for some commands

Message ID 3f55a6f6-4302-bc7d-92a8-f514bbe69ff9@jp.fujitsu.com (mailing list archive)
State New, archived
Headers show

Commit Message

Misono Tomohiro Aug. 24, 2017, 5:24 a.m. UTC
This fixes "btrfs receive -E"

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

Patch

diff --git a/cmds-receive.c b/cmds-receive.c
index 72e9c8f..e584cef 100644
--- a/cmds-receive.c
+++ b/cmds-receive.c
@@ -1277,7 +1277,7 @@  int cmd_receive(int argc, char **argv)
  			{ NULL, 0, NULL, 0 }
  		};

-		c = getopt_long(argc, argv, "Cevf:m:", long_opts, NULL);
+		c = getopt_long(argc, argv, "Cevf:m:E:", long_opts, NULL);
  		if (c < 0)
  			break;