|
Lines 50-55
Link Here
|
| 50 |
registerOption("-machine", &machineOption,3); |
50 |
registerOption("-machine", &machineOption,3); |
| 51 |
registerOption("-setting", &settingOption,2); |
51 |
registerOption("-setting", &settingOption,2); |
| 52 |
registerOption("-h", &helpOption,1,1); |
52 |
registerOption("-h", &helpOption,1,1); |
|
|
53 |
registerOption("--help", &helpOption,1,1); |
| 53 |
} |
54 |
} |
| 54 |
|
55 |
|
| 55 |
void CommandLineParser::registerOption(const string &str, CLIOption* cliOption, byte prio, byte length) |
56 |
void CommandLineParser::registerOption(const string &str, CLIOption* cliOption, byte prio, byte length) |