diff dbclient.1 @ 895:5608a5a61c2a

Change port separator to ^ since % is used in ipv6 addresses
author Matt Johnston <matt@ucc.asn.au>
date Sat, 15 Feb 2014 21:42:35 +0800
parents f8b28a3de6cb
children 17d874ae93a1
line wrap: on
line diff
--- a/dbclient.1	Sat Feb 15 21:23:41 2014 +0800
+++ b/dbclient.1	Sat Feb 15 21:42:35 2014 +0800
@@ -15,7 +15,7 @@
 .B dbclient
 [
 .I args ]
-.I [user1]@host1[%port1],[user2]@host2[%port2],...
+.I [user1]@host1[^port1],[user2]@host2[^port2],...
 
 .SH DESCRIPTION
 .B dbclient
@@ -26,7 +26,7 @@
 .B \-p \fIport
 Connect to 
 .I port
-on the remote host. Alternatively a port can be specified as hostname%port.
+on the remote host. Alternatively a port can be specified as hostname^port.
 Default is 22.
 .TP
 .B \-i \fIidfile
@@ -127,7 +127,7 @@
 this case a connection will be made to the first host, then a TCP forwarded 
 connection will be made through that to the second host, and so on. Hosts other than
 the final destination will not see anything other than the encrypted SSH stream. 
-A port for a host can be specified with a hash (eg [email protected]%44 ).
+A port for a host can be specified with a hash (eg [email protected]^44 ).
 This syntax can also be used with scp or rsync (specifying dbclient as the 
 ssh/rsh command). A file can be "bounced" through multiple SSH hops, eg