btrfs-progs: recieve: add missing short option E to getopt
authorMisono, Tomohiro <misono.tomohiro@jp.fujitsu.com>
Thu, 24 Aug 2017 05:24:03 +0000 (14:24 +0900)
committerDavid Sterba <dsterba@suse.com>
Thu, 24 Aug 2017 17:14:19 +0000 (19:14 +0200)
This fixes "btrfs receive -E".

Signed-off-by: Tomohiro Misono <misono.tomohiro@jp.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
cmds-receive.c

index 72e9c8f..e584cef 100644 (file)
@@ -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;