mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-15 10:07:39 -05:00
provide_xrm_string: report a more sensible program name.
It was always issuing an error message beginning "pterm:", even when the application was GTK PuTTY or Unix Plink.
This commit is contained in:
@ -515,7 +515,7 @@ bool do_cmdline(int argc, char **argv, bool do_everything, Conf *conf)
|
||||
|
||||
} else if (!strcmp(p, "-xrm")) {
|
||||
EXPECTS_ARG;
|
||||
provide_xrm_string(val);
|
||||
provide_xrm_string(val, appname);
|
||||
|
||||
} else if(!strcmp(p, "-help") || !strcmp(p, "--help")) {
|
||||
help(stdout);
|
||||
|
Reference in New Issue
Block a user