Add level_by_argv level --silent.

This commit is contained in:
Ethan Dalool 2020-11-08 20:12:19 -08:00
parent e3d9336383
commit cbf546ee69

View file

@ -25,6 +25,9 @@ def get_level_by_argv(argv):
elif '--quiet' in argv:
level = ERROR
argv.remove('--quiet')
elif '--silent' in argv:
level = 99999999999
argv.remove('--silent')
else:
level = INFO