New client option -s to specify server host and port

Overrides EMPIREHOST and EMPIREPORT.
This commit is contained in:
Tom Dickson-Hunt 2010-04-02 10:47:41 +02:00 committed by Markus Armbruster
parent 7506039f1b
commit f4fe7da1fb
2 changed files with 34 additions and 5 deletions

View file

@ -10,6 +10,9 @@ empire \- Empire client
.BI \-2 " outfile"
]
[
.BI \-s " host:port"
]
[
.I country
[
.I password
@ -34,6 +37,12 @@ Help. Print brief usage information and exit.
.B \-k
If someone else is connected to your country, kill their connection.
.TP
.BI \-s " host:port"
Specify host and port to which to connect.
.IP
Connect to \fIhost\fR using port \fIport\fR. You can specify only
one; just leave the other empty (include the colon).
.TP
.B \-u
Use UTF-8 rather than ASCII character set.
.IP
@ -60,9 +69,11 @@ client:
.TP
.I EMPIREHOST
Specifies the host to connect to, i.e. where the server runs.
Only effective if no host specified via \-s.
.TP
.I EMPIREPORT
Specifies the port number or service name to connect to.
Only effective if no port specified via \-s.
.TP
.I COUNTRY
The name of your country in the game.