Migrate scripts to main_level_by_argv.
This commit is contained in:
parent
03bcded66a
commit
0d4349e942
2 changed files with 2 additions and 2 deletions
|
@ -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')
|
||||
|
|
|
@ -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__)
|
||||
|
||||
|
|
Loading…
Reference in a new issue