Improve help for --port a bit

It must bit be the port number used for listening for the child processes
contacting the master process.
This commit is contained in:
Tor Lillqvist 2015-05-08 21:29:13 +03:00
parent 3e9c4d4bf3
commit 6393cbfd7d

View file

@ -405,7 +405,8 @@ void LOOLWSD::defineOptions(OptionSet& options)
.required(false)
.repeatable(false));
options.addOption(Option("port", "", "Port number to listen to (default: " + std::to_string(LOOLWSD::DEFAULT_CLIENT_PORT_NUMBER) + ").")
options.addOption(Option("port", "", "Port number to listen to (default: " + std::to_string(DEFAULT_CLIENT_PORT_NUMBER) + "),"
" must not be " + std::to_string(MASTER_PORT_NUMBER) + ".")
.required(false)
.repeatable(false)
.argument("port number"));