1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-03-12 18:13:50 -05:00

Reject unrecognised command-line options; thanks rjk.

[originally from svn r2102]
This commit is contained in:
Simon Tatham 2002-10-18 15:26:54 +00:00
parent 14a7d67b26
commit a219808b15

View File

@ -1732,6 +1732,9 @@ int do_cmdline(int argc, char **argv, int do_everything)
EXPECTS_ARG;
provide_xrm_string(val);
} else {
err = 1;
fprintf(stderr, "pterm: unrecognized option '%s'\n", p);
}
}