diff --git a/src/cppcheck.h b/src/cppcheck.h index b226eaa2f..674b1d3d8 100644 --- a/src/cppcheck.h +++ b/src/cppcheck.h @@ -88,8 +88,9 @@ public: * @param argc argc from main() * @param argv argv from main() * @return Empty string if parameters were accepted, or - * string containing "help" text if no files were found to be - * checked. + * string containing "help" text if no parameters were given or + * -h or --help parameters was given. Or error message if no + * files were found or if invalid parameter was given. */ std::string parseFromArgs(int argc, const char* const argv[]);