-
-
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.
Auto merge of #263 - Vinatorul:dev, r=kbknapp
fix(ArgGroup) added asserts to help users to configure clap properly Also I've added tests for this change Now you will get ``` ArgGroup %Your_ArgGroup_Name% doesn't contain any args ``` instead of ``` thread '<main>' panicked at 'arithmetic operation overflowed' ``` And ``` ArgGroup %Your_ArgGroup_Name% can not have same name as arg inside it ``` instead of ``` thread '<main>' has overflowed its stack ```
- Loading branch information
Showing
3 changed files
with
36 additions
and
1 deletion.
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
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
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