aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-restore.c
diff options
context:
space:
mode:
Diffstat (limited to 'notmuch-restore.c')
-rw-r--r--notmuch-restore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/notmuch-restore.c b/notmuch-restore.c
index 09dd6918..7d8f44c4 100644
--- a/notmuch-restore.c
+++ b/notmuch-restore.c
@@ -145,8 +145,8 @@ notmuch_restore_command (unused (void *ctx), int argc, char *argv[])
if (opt_index < argc) {
fprintf (stderr,
- "Cannot read dump from more than one file: %s\n",
- argv[optind]);
+ "Unused positional parameter: %s\n",
+ argv[opt_index]);
return 1;
}