mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
This commit fixes the verbosity (-v) levels.
without -v is ERROR logging, -v WARNINGS logging, -vv INFO logging and -vvv (+) DEBUG logging. Signed-off-by: Kairo de Araujo <kdearaujo@vmware.com>
This commit is contained in:
parent
183223e59c
commit
134441019c
1 changed files with 3 additions and 3 deletions
|
|
@ -111,11 +111,11 @@ def main() -> None:
|
|||
|
||||
command_args = client_args.parse_args()
|
||||
|
||||
if command_args.verbose == 1:
|
||||
if command_args.verbose == 0:
|
||||
loglevel = logging.ERROR
|
||||
elif command_args.verbose == 2:
|
||||
elif command_args.verbose == 1:
|
||||
loglevel = logging.WARNING
|
||||
elif command_args.verbose == 3:
|
||||
elif command_args.verbose == 2:
|
||||
loglevel = logging.INFO
|
||||
else:
|
||||
loglevel = logging.DEBUG
|
||||
|
|
|
|||
Loading…
Reference in a new issue