Rename pterm's -T option to -title, to avoid clashing with PuTTY's
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 8 Apr 2003 14:02:34 +0000 (14:02 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 8 Apr 2003 14:02:34 +0000 (14:02 +0000)
-T (don't allocate a pty) option.

git-svn-id: svn://svn.tartarus.org/sgt/putty@3079 cda61777-01e9-0310-a592-d414129be87e

unix/pterm.c

index 9d92bc7..01bc2a1 100644 (file)
@@ -2136,7 +2136,7 @@ int do_cmdline(int argc, char **argv, int do_everything,
            } else
                err = 1, fprintf(stderr, "pterm: -e expects an argument\n");
 
-       } else if (!strcmp(p, "-T")) {
+       } else if (!strcmp(p, "-title")) {
            EXPECTS_ARG;
            SECOND_PASS_ONLY;
            strncpy(cfg->wintitle, val, sizeof(cfg->wintitle));