|
MF_API bool MFCommandLine_GetBool |
( |
const char * |
pParameter, |
|
|
bool |
defaultValue = false |
|
) |
| |
Gets a bool argument from the command line.
- Parameters
-
pParameter | Name of the parameter to fetch from the command line. |
defaultValue | Default value to use if parameter does not appear on the command line. |
- Returns
- The value of the parameter on the command line as a bool. If the parameter does not exist, defaultValue is returned.
|