Migrate scripts to main_level_by_argv.
This commit is contained in:
parent
bf20c17234
commit
9793f47bb3
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue