Hi,

On Sun, Jul 22, 2012 at 12:50 PM, Oliver Steinau <[email protected]> wrote:
> By the way: Dave mentioned the '-p' flag -- what's the difference between -p
> and -s?

It's a mistake I made back in revision 1066132 [1] when I documented
the feature to use the --server (-s) command line option, but actually
used --port (-p) in the relevant code. I fixed that soon enough in
revision 1091833 [2], but since there were already some clients using
the -p option I kept support for that around for backwards
compatibility. Both -p and -s do exactly the same thing.

Nowadays the -p option is really intended for the -pPASSWORD usage
(there's extra code to distinguish between the "-pPASSWORD" and "-p
PORT" cases), so I'd recommend sticking with the documented -s option
and avoiding the -p option.

[1] http://svn.apache.org/viewvc?view=revision&revision=1066132
[2] http://svn.apache.org/viewvc?view=revision&revision=1091833

BR,

Jukka Zitting

Reply via email to