Migrate scripts to main_level_by_argv.

This commit is contained in:
voussoir 2021-05-16 21:02:18 -07:00
parent 03bcded66a
commit 0d4349e942
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB
2 changed files with 2 additions and 2 deletions

View file

@ -473,7 +473,7 @@ def download_argparse(args):
def main(argv):
argv = vlogging.set_level_by_argv(log, argv)
argv = vlogging.main_level_by_argv(argv)
parser = argparse.ArgumentParser()
parser.add_argument('url')

View file

@ -220,7 +220,7 @@ def operatornotify_argparse(args):
)
def main(argv):
argv = vlogging.set_level_by_argv(log, argv)
argv = vlogging.main_level_by_argv(argv)
parser = argparse.ArgumentParser(description=__doc__)