/**@brief A function to find out if help is need or required, called with a * minimum arguments parameter to indicated the num of args to print out if no * help flag is indicated * @param minAmountOfArgs Number of arguments to print help, defualts to one * so if only the program name is given it indicates help is needed * @return return true if a help message should be printed or false if no help * is needed */ bool needsHelp(uint32_t minAmountOfArgs = 0) { return (commands_.hasFlagCaseInsen("--help") || commands_.hasFlagCaseInsen("-h") || commands_.numberOfCommands() <= minAmountOfArgs); }