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

pscp: Fix short help message.

Typing just 'pscp' for help doesn't work since ecfa6b2734 (and is a
particularly infuriating suggestion if that's what you did to elicit
this message).
This commit is contained in:
Jacob Nevins 2024-11-17 14:22:26 +00:00
parent f71db7f1b9
commit 1b4a88f1fe

2
pscp.c
View File

@ -2253,7 +2253,7 @@ void cmdline_error(const char *p, ...)
va_start(ap, p); va_start(ap, p);
vfprintf(stderr, p, ap); vfprintf(stderr, p, ap);
va_end(ap); va_end(ap);
fprintf(stderr, "\n try typing just \"pscp\" for help\n"); fprintf(stderr, "\n try typing \"pscp -h\" for help\n");
exit(1); exit(1);
} }