Open jonblack opened 10 years ago
This error string is not in the mrs code itself. It's in boost::program_options::errors
This is how boost's commandline parser interprets the argument list.
Usually, mrs server is used like this:
./mrs server start
where 'start' is the first positional argument. MRS' source code specifies that the first positional option must be given the name '--command'. So it's interpreted by boost as:
./mrs server --command start
In your case, 'config/mrs-config.xml' is the first positional argument. Because there's also a second option with that with name '--command', with value start, boost sees the option '--command' specified twice and throws an error.
The error displayed from the following invocation isn't correct. The mistake is that the option -c is part of the username.