mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
Rename pterm's -T option to -title, to avoid clashing with PuTTY's
-T (don't allocate a pty) option. [originally from svn r3079]
This commit is contained in:
parent
fe666b2432
commit
98a608c2e4
@ -2136,7 +2136,7 @@ int do_cmdline(int argc, char **argv, int do_everything,
|
|||||||
} else
|
} else
|
||||||
err = 1, fprintf(stderr, "pterm: -e expects an argument\n");
|
err = 1, fprintf(stderr, "pterm: -e expects an argument\n");
|
||||||
|
|
||||||
} else if (!strcmp(p, "-T")) {
|
} else if (!strcmp(p, "-title")) {
|
||||||
EXPECTS_ARG;
|
EXPECTS_ARG;
|
||||||
SECOND_PASS_ONLY;
|
SECOND_PASS_ONLY;
|
||||||
strncpy(cfg->wintitle, val, sizeof(cfg->wintitle));
|
strncpy(cfg->wintitle, val, sizeof(cfg->wintitle));
|
||||||
|
Loading…
Reference in New Issue
Block a user