1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Unix Pageant: fix usage message about --encrypted.

If you specified --encrypted or one of its synonyms while not adding
keys, Pageant would start going on about the unrelated -E option for
some reason.
This commit is contained in:
Jacob Nevins 2024-11-17 14:30:08 +00:00
parent 1b4a88f1fe
commit 29c729a8d5

View File

@ -1365,8 +1365,8 @@ int main(int argc, char **argv)
else if (curr_keyact == KEYACT_CLIENT_ADD)
curr_keyact = KEYACT_CLIENT_ADD_ENCRYPTED;
else {
fprintf(stderr, "pageant: unexpected -E while not adding "
"keys\n");
fprintf(stderr, "pageant: unexpected %s while not adding "
"keys\n", p);
exit(1);
}
} else if (!strcmp(p, "--debug")) {