-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
has_no_matched_args
to ArgMatches
This member function provides a simple way to check if no arguments were matched at all, in v3. The same in v2 could be achieved by accessing the `args` field in `ArgMatches` and checking if it was empty. However, in v3 the field was made private in the public API and for the same reason, this method was added.
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters