diff options
author | David Sterba <dsterba@suse.cz> | 2015-04-08 17:39:51 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2015-04-08 17:39:51 +0200 |
commit | 08f9acadab168a2f337542dcceaa3c5e748c1e83 (patch) | |
tree | 93ee94103808d8fa4c955ab97602d558a460cd42 /cmds-receive.c | |
parent | 4074ae5f2bac71889527e817ddeee5fd85a3ba59 (diff) |
btrfs-progs: getopt, use symbolic name for argument requirements
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'cmds-receive.c')
-rw-r--r-- | cmds-receive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-receive.c b/cmds-receive.c index a1c72f97..919dc9e2 100644 --- a/cmds-receive.c +++ b/cmds-receive.c @@ -934,7 +934,7 @@ int cmd_receive(int argc, char **argv) while (1) { int c; static const struct option long_opts[] = { - { "max-errors", 1, NULL, 'E' }, + { "max-errors", required_argument, NULL, 'E' }, { NULL, 0, NULL, 0 } }; |