Handle debug mode correctly in CLI
Compare changes
Files
3+ 2
− 0
Due to an influx of spam, we have had to temporarily disable account registrations. Please write an email to accountsupport@archlinux.org, with your desired username, if you want to get access. Sorry for the inconvenience.
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.
Fixes #89 (closed)