mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
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.
This commit is contained in:
parent
fe13a55421
commit
5aba32208f
1 changed files with 2 additions and 2 deletions
|
@ -145,8 +145,8 @@ notmuch_restore_command (unused (void *ctx), int argc, char *argv[])
|
||||||
|
|
||||||
if (opt_index < argc) {
|
if (opt_index < argc) {
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
"Cannot read dump from more than one file: %s\n",
|
"Unused positional parameter: %s\n",
|
||||||
argv[optind]);
|
argv[opt_index]);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue