1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-06 22:12:47 -05:00

Add the -xrm command-line option, to allow specification of an

arbitrary X resource which doesn't have a dedicated command-line
option.

[originally from svn r2089]
This commit is contained in:
Simon Tatham
2002-10-16 22:54:58 +00:00
parent e70c66b8b0
commit 3c6a770e9f
4 changed files with 77 additions and 2 deletions

View File

@ -1733,6 +1733,11 @@ int do_cmdline(int argc, char **argv, int do_everything)
} else if (!strcmp(p, "-name")) {
EXPECTS_ARG;
app_name = val;
} else if (!strcmp(p, "-xrm")) {
EXPECTS_ARG;
provide_xrm_string(val);
}
}