| 584 | } |
| 585 | |
| 586 | void helpshort() { |
| 587 | REDIRECT; |
| 588 | const char * const argv[] = {"cppcheck", "-h"}; |
| 589 | ASSERT_EQUALS_ENUM(CmdLineParser::Result::Exit, parseFromArgs(argv)); |
| 590 | ASSERT(startsWith(logger->str(), "Cppcheck - A tool for static C/C++ code analysis")); |
| 591 | } |
| 592 | |
| 593 | void helpshortExclusive() { |
| 594 | REDIRECT; |
nothing calls this directly
no test coverage detected