summaryrefslogtreecommitdiff
path: root/cmds-restore.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmds-restore.c')
-rw-r--r--cmds-restore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds-restore.c b/cmds-restore.c
index 21e58eba..2bc11d0a 100644
--- a/cmds-restore.c
+++ b/cmds-restore.c
@@ -1177,8 +1177,8 @@ int cmd_restore(int argc, char **argv)
while (1) {
int opt;
static const struct option long_options[] = {
- { "path-regex", 1, NULL, 256},
- { "dry-run", 0, NULL, 'D'},
+ { "path-regex", required_argument, NULL, 256},
+ { "dry-run", no_argument, NULL, 'D'},
{ NULL, 0, NULL, 0}
};