The -R option's placement of the optional "host" portion is confusing when used with logical port names, especially when comparing it with the placement in the -L option, which groups bind_address:port and port_name/relay_name in binding order.
To align this, this change introduces a new option -T and deprecates option -R, where the "host" moves into a more intuitive spot, grouped with the target port number.
The -R option's placement of the optional "host" portion is confusing when used with logical port names, especially when comparing it with the placement in the -L option, which groups bind_address:port and port_name/relay_name in binding order.
-R relay_name:host:[port_name/]hostport{;...}
-L [bind_address:]port[/port_name]{;...}:relay_name
To align this, this change introduces a new option -T and deprecates option -R, where the "host" moves into a more intuitive spot, grouped with the target port number.
-T relay_name:[port_name/]host:hostport{;...}