summaryrefslogtreecommitdiffstats
path: root/qarsh.c
diff options
context:
space:
mode:
Diffstat (limited to 'qarsh.c')
-rw-r--r--qarsh.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/qarsh.c b/qarsh.c
index 58f449c..b7814df 100644
--- a/qarsh.c
+++ b/qarsh.c
@@ -458,7 +458,7 @@ main(int argc, char *argv[])
}
again:
- while ((c = getopt(argc, argv, "+p:l:g:t:")) != -1) {
+ while ((c = getopt(argc, argv, "+p:l:g:t:T:")) != -1) {
switch (c) {
case 'l':
remuser = strdup(optarg);
@@ -472,6 +472,8 @@ again:
case 't':
max_timeout = atoi(optarg);
break;
+ case 'T': /* ssh option to disable pseudo-tty allocation */
+ break;
case '?':
default:
printf("Unknown option %c\n", (char)optopt);