Handle debug mode correctly in CLI
- Aug 12, 2022
-
-
David Runge authored
repod/cli/argparse.py: Change destinations for `-d`/ `--debug` to `debug_mode` so that it does not shadow `-D`/ `--debug`. Change destinations for `-v`/ `--verbose` to `verbose_mode` to align with `debug_mode`. repod/cli/cli.py: Change occurences of `args.debug` and `args.verbose` targetting the verbosity of the CLI to `args.debug_mode` and `args.verbose_mode`. tests/cli/test_cli.py: Change tests to adapt to renaming of verbosity flag destinations.
-