When I "oolite --help", the game starts as normal.
When I "oolite --no-such-option", the game starts as normal.
In both cases, it would be better (please) to parse the command line properly and report a usage message.
I tried both command lines in the hope of identifying an option to turn on "debug-level" logging. If there is such an option, please tell me.
Cheers.
Command-line usage message
Moderators: winston, another_commander
Re: Command-line usage message
Logging is controlled by the
To enable extra logging, create a
Available log classes can be found in the core game's logcontrol.plist file. There's no single "enable debug logging" option - enabling all the logging at once will give you a multi-megabyte log file in seconds. Any class you don't intend to change the settings for you don't need to specify in your own copy of the file.
A list of the (few) available command line parameters is at [wiki]Hidden_Settings_in_Oolite[/wiki]
logcontrol.plist
file.To enable extra logging, create a
logcontrol.plist
file in your AddOns
folder, and enable the logging categories you wish to use in that. For example, to add logging of progress messages while loading shipdata, and removal of joysticks, you would do this in the file.
Code: Select all
{
"joystick.remove" = yes;
"shipData.load.progress" = yes;
}
A list of the (few) available command line parameters is at [wiki]Hidden_Settings_in_Oolite[/wiki]
Re: Command-line usage message
Thanks, cim, I'll do that. Problem solved.
The command line should still play nicely though.
The command line should still play nicely though.