Commit 809206d0 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mihai Moldovan

os: hide ttyxx option

is used nowhere anyway
parent 9822e970
...@@ -296,9 +296,6 @@ sets default connection timeout in seconds. ...@@ -296,9 +296,6 @@ sets default connection timeout in seconds.
.B \-tst .B \-tst
disables all testing extensions. disables all testing extensions.
.TP 8 .TP 8
.B tty\fIxx\fP
ignored, for servers started the ancient way (from init).
.TP 8
.B v .B v
sets video-off screen-saver preference. sets video-off screen-saver preference.
.TP 8 .TP 8
......
...@@ -269,7 +269,9 @@ long Memory_fail = 0; ...@@ -269,7 +269,9 @@ long Memory_fail = 0;
#include <stdlib.h> /* for random() */ #include <stdlib.h> /* for random() */
#endif #endif
#ifndef NXAGENT_SERVER
char *dev_tty_from_init = NULL; /* since we need to parse it anyway */ char *dev_tty_from_init = NULL; /* since we need to parse it anyway */
#endif
extern char dispatchExceptionAtReset; extern char dispatchExceptionAtReset;
...@@ -628,7 +630,9 @@ void UseMsg(void) ...@@ -628,7 +630,9 @@ void UseMsg(void)
ErrorF("-terminate terminate at server reset\n"); ErrorF("-terminate terminate at server reset\n");
ErrorF("-to # connection time out\n"); ErrorF("-to # connection time out\n");
ErrorF("-tst disable testing extensions\n"); ErrorF("-tst disable testing extensions\n");
#ifndef NXAGENT_SERVER
ErrorF("ttyxx server started from init on /dev/ttyxx\n"); ErrorF("ttyxx server started from init on /dev/ttyxx\n");
#endif
ErrorF("v video blanking for screen-saver\n"); ErrorF("v video blanking for screen-saver\n");
ErrorF("-v screen-saver without video blanking\n"); ErrorF("-v screen-saver without video blanking\n");
ErrorF("-wm WhenMapped default backing-store\n"); ErrorF("-wm WhenMapped default backing-store\n");
...@@ -1036,11 +1040,13 @@ ProcessCommandLine(int argc, char *argv[]) ...@@ -1036,11 +1040,13 @@ ProcessCommandLine(int argc, char *argv[])
/* ignore all remaining arguments */ /* ignore all remaining arguments */
break; break;
} }
#ifndef NXAGENT_SERVER
else if (strncmp (argv[i], "tty", 3) == 0) else if (strncmp (argv[i], "tty", 3) == 0)
{ {
/* just in case any body is interested */ /* just in case any body is interested */
dev_tty_from_init = argv[i]; dev_tty_from_init = argv[i];
} }
#endif
#ifdef XDMCP #ifdef XDMCP
else if ((skip = XdmcpOptions(argc, argv, i)) != i) else if ((skip = XdmcpOptions(argc, argv, i)) != i)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment