Unverified Commit 6d7536bd authored by Mihai Moldovan's avatar Mihai Moldovan

Merge branch 'uli42-pr/keep_co' into 3.6.x

parents eb961873 eff0f366
......@@ -161,6 +161,12 @@ sets key-click volume (allowable range: 0-100).
sets the visual class for the root window of color screens.
The class numbers are as specified in the X protocol.
Not obeyed by all servers.
.TP 8
.B \-co \fIfilename\fP
This used to be the option for specifying the path to the RGB color
database file. As the RGB color database is now embedded into the
binary this option has no effect but is kept for
compatibility. Deprecated.
.ig
.TP 8
.B \-config \fIfilename\fP
......
......@@ -571,6 +571,9 @@ void UseMsg(void)
ErrorF("-c turns off key-click\n");
ErrorF("c # key-click volume (0-100)\n");
ErrorF("-cc int default color visual class\n");
#ifdef NXAGENT_SERVER
ErrorF("-co file deprecated, has no effect\n");
#endif
#ifdef COMMANDLINE_CHALLENGED_OPERATING_SYSTEMS
ErrorF("-config file read options from file\n");
#endif
......@@ -776,6 +779,14 @@ ProcessCommandLine(int argc, char *argv[])
else
UseMsg();
}
#ifdef NXAGENT_SERVER
else if ( strcmp( argv[i], "-co") == 0)
{
fprintf(stderr, "Warning: Ignoring deprecated command line option '%s'.\n", argv[i]);
if(++i >= argc)
UseMsg();
}
#endif
else if ( strcmp( argv[i], "-core") == 0)
CoreDump = TRUE;
else if ( strcmp( argv[i], "-dpi") == 0)
......
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