1
0
Fork 0

Migrate scripts to main_level_by_argv.

This commit is contained in:
voussoir 2021-05-16 21:02:48 -07:00
parent bf20c17234
commit 9793f47bb3
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -397,7 +397,7 @@ def update_items_argparse(args):
insert_items(items, commit_period=args.commit_period) insert_items(items, commit_period=args.commit_period)
def main(argv): def main(argv):
argv = vlogging.set_level_by_argv(log, argv) argv = vlogging.main_level_by_argv(argv)
parser = argparse.ArgumentParser(description=__doc__) parser = argparse.ArgumentParser(description=__doc__)
subparsers = parser.add_subparsers() subparsers = parser.add_subparsers()