-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: truly respect
--allow-all
to allow all components (#61)
`ArgAction::SetTrue` is not the right action for `allow_xxx` options, as they should default to `None` instead of `Some(false)` when the option itself is not specified. The wrong default value led to the `--allow-all` option not being respected, as the `allow_xxx.unwrap_or(allow_all)` always ignored the `allow_all` value.
- Loading branch information
1 parent
87cc7d7
commit 6585bdf
Showing
1 changed file
with
7 additions
and
7 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