-
-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pyoxidizer: remove unnecessary arg_required_else_help()
It looks like there was a subtle change in behavior as a result of the clap 3.0 and 3.1 upgrade. Before the upgrade, running sub-commands without arguments would work. Now, it fails by printing help text. This commit removes arg_required_else_help() from sub-commands as this behavior is enforced through required argument handling. Closes #523.
- Loading branch information
Showing
2 changed files
with
14 additions
and
11 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
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