Use the following options to control execution of the command line client, whether cp20c on Linux or cp20c.node.exe cp20c.node.js on Windows.
Background management:
• | -start starts the client in background |
• | -stop stops the background client previously started |
• | -restart stops, then restarts the background client
|
Other control options:
• | -help displays the man page on Linux |
• | -settings [-profile name] displays config file name and current settings for the default or specified profile |
• | -config opens the config file in the system's text editor (Linux only, vi or the $EDITOR value) |
• | -test tests the active or command-line supplied connection information, displays an error or success message |
• | -logs displays a list of log files on the system (Linux only) |
• | -log displays the current log file (pipe through a pager, like "more", Linux only) |
• | -profiles displays a list of profiles found in the config file |
• | -delprofile name deletes the named profile from the config file (default "settings" profile can't be deleted) |
• | -setup url [-profile name] obtains a server setup from a URL supplied by a server administrator. A profile name may be supplied. |
If no -start option is supplied, a foreground connection is made. Connection information is read from a settings file (displayed by using -settings, above), and you can also specify any other connection information with these options:
• | -server serverNameOrIP[:port] |
• | -locid locationID or locationID@companyID |
• | -nossl [off] (if on, disables default SSL connection) |
• | -logdetail [off] (if on, turns on detail logging) |
• | -logdebug [off] (if on, turns on additional logging) |
• | -lang code specifies a language, such as "en" for English, "es" for Español |
Note that if the -server setting includes an http:// or https:// prefix, the -nossl setting is ignored.
|