Added support for setting basic options with environment variables.

This commit is contained in:
Tiiffi
2016-12-16 21:13:01 +02:00
parent b8776a0984
commit 2f8c462c0f
3 changed files with 31 additions and 7 deletions

View File

@ -33,6 +33,12 @@ Option:
-v Output version information
```
Server address, port and password can be set using following environment variables:
MCRCON_HOST
MCRCON_PORT
MCRCON_PASS
Command-line options will override environment variables.
Commands with arguments must be enclosed in quotes.
Example: