diff options
author | David Bremner <bremner@debian.org> | 2012-11-14 22:42:39 -0400 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-11-15 18:20:10 -0400 |
commit | 5aba32208f5ffe6a90b8ff46e2d3ba66f08c888f (patch) | |
tree | 06e30c50ad8ac49bbba1d93b5b2458b3a941dbf0 /notmuch-restore.c | |
parent | fe13a55421da077ceee3fb0def1db1154d152717 (diff) |
notmuch-restore: fix error message for extra positional parameter.
Note that a single positional parameter will take this code path also,
so the old message really makes no sense anymore.
Diffstat (limited to 'notmuch-restore.c')
-rw-r--r-- | notmuch-restore.c | 4 |
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; } |