This forces help to be printed using "help "
| 173 | |
| 174 | // This forces help to be printed using "help <command>" |
| 175 | void mp::ArgParser::forceCommandHelp() |
| 176 | { |
| 177 | parser.clearPositionalArguments(); |
| 178 | |
| 179 | // Need to add this back so helpText() can add the correct command for usage |
| 180 | parser.addPositionalArgument("command", "The command to execute", "<command>"); |
| 181 | help_requested = true; |
| 182 | } |
| 183 | |
| 184 | void mp::ArgParser::forceGeneralHelp() |
| 185 | { |
no test coverage detected