Check to see if given subcommand was selected
| 985 | |
| 986 | /// Check to see if given subcommand was selected |
| 987 | bool got_subcommand(const App *subcom) const { |
| 988 | // get subcom needed to verify that this was a real subcommand |
| 989 | return get_subcommand(subcom)->parsed_ > 0; |
| 990 | } |
| 991 | |
| 992 | /// Check with name instead of pointer to see if subcommand was selected |
| 993 | CLI11_NODISCARD bool got_subcommand(std::string subcommand_name) const noexcept { |
nothing calls this directly
no outgoing calls
no test coverage detected