traintastic/manual/traintasticmanual/en-us/commandlineoptions.md
Reinder Feenstra 5bf2875b6c Added --tray option to run server in windows system tray
The https://github.com/zserge/tray code was very helpful for getting it done.
2021-05-11 23:23:05 +02:00

1.3 KiB

Command line options

The client and server both support various command line options to contol how the applications start and where data is stored. These options are mainly useful for PCs only used to control the layout.

Client

Short Long Description
-h --help Displays help text.
-v --version Displays version information.
--fullscreen Start application fullscreen.
-c <hostname[:port]> --connect <hostname[:port]> Connect to server.

Server

Short Long Description
-h --help Display help text and exit
-v --version Output version information and exit
-D path --datadir path Data directory
--tray Run application in system tray (windows only)