From 141ec239da1ced1b8ff6c2b06b75956bc2fdba8a Mon Sep 17 00:00:00 2001 From: Luke Mewburn Date: Sat, 27 Oct 2012 18:38:05 +1100 Subject: Support port range as -p/--port PORT[:HIGHPORT]. Extend mosh and mosh-server to support parsing a high port from the desired_port argument. The first (low) port must not be greater than the second (high) port. If only one value is provided, behaviour is as before; bind to one port. Also tweak the formatting in mosh-server(1) synopsis to be consistent. This resolves mosh issue # 296. Signed-off-by: Luke Mewburn --- man/mosh-server.1 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'man/mosh-server.1') diff --git a/man/mosh-server.1 b/man/mosh-server.1 index 16d65d4..39fbb34 100644 --- a/man/mosh-server.1 +++ b/man/mosh-server.1 @@ -2,7 +2,7 @@ .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) -.TH MOSH 1 "February 2012" +.TH MOSH 1 "October 2012" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: @@ -22,9 +22,9 @@ mosh-server \- server-side helper for mosh new [\-s] [\-v] -[\-i IP] -[\-p port] -[\-c colors] +[\-i \fIIP\fP] +[\-p \fIPORT\fP[:\fIPORT2\fP]] +[\-c \fICOLORS\fP] [\-\- command...] .br .SH DESCRIPTION @@ -69,8 +69,8 @@ Print some debugging information even after detaching. IP address of the local interface to bind (for multihomed hosts) .TP -.B \-p \fIPORT\fP -UDP port number to bind +.B \-p \fIPORT\fP[:\fIPORT2\fP] +UDP port number or port-range to bind .TP .B \-c \fICOLORS\fP -- cgit v1.2.3