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 #996 - habitat-sh:dp_fix_args_with_params, r=smith
fix permanent-peer, no-color and verbose output cli args Clap args that don't take a param (`--permanent-peer`, `--no-color` and `-v`) weren't recognized with: if sub_args.value_of("foo").is_some() {... as they never have a value. Instead, we use if sub_args.is_present("foo") {... Additionally, verbose and no-color flags are marked as "global", but are registered in `sub_args` instead of `args` in `fn config_from_args`. I removed `args` as we aren't using that struct any more. cc @thommay
- Loading branch information