aboutsummaryrefslogtreecommitdiff
path: root/notmuch-restore.c
diff options
context:
space:
mode:
authorDavid Bremner <bremner@debian.org>2012-08-04 09:55:45 -0300
committerDavid Bremner <bremner@debian.org>2012-08-06 08:52:45 -0300
commit19c824c3fd7be29a2257cdd530ee23074c978d63 (patch)
treee40c6eddaffc3bf20646572f1802bfa068d87fdc /notmuch-restore.c
parent760e17488e6b11299f2971cf879b109b84816d14 (diff)
notmuch-restore: replace positional argument for input with option
Since notmuch dump doesn't use positional arguments anymore, it seems better to be consistent.
Diffstat (limited to 'notmuch-restore.c')
-rw-r--r--notmuch-restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-restore.c b/notmuch-restore.c
index 4f4096e..08d5adc 100644
--- a/notmuch-restore.c
+++ b/notmuch-restore.c
@@ -122,7 +122,7 @@ notmuch_restore_command (unused (void *ctx), int argc, char *argv[])
synchronize_flags = notmuch_config_get_maildir_synchronize_flags (config);
notmuch_opt_desc_t options[] = {
- { NOTMUCH_OPT_POSITION, &input_file_name, 0, 0, 0 },
+ { NOTMUCH_OPT_STRING, &input_file_name, "input", 'i', 0 },
{ NOTMUCH_OPT_BOOLEAN, &accumulate, "accumulate", 'a', 0 },
{ 0, 0, 0, 0, 0 }
};