Function finalizeCommandLineOptions
Checks for unrecognized command line options and display a help screen.
bool finalizeCommandLineOptions
(
string[]* args_out = null
);
This function is called automatically from vibe
and from
runApplication
to check for correct command line usage.
It will print a help screen in case of unrecognized options.
Parameters
Name | Description |
---|---|
args_out | Optional parameter for storing any arguments not handled by any readOption call. If this is left to null, an error will be triggered whenever unhandled arguments exist. |
Returns
If "--help" was passed, the function returns false. In all other cases either true is returned or an exception is thrown.