fix(__main__): require command argument
This commit is contained in:
parent
c88e3ab17e
commit
6bef30f1f3
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ def parser():
|
|||
|
||||
p = argparse.ArgumentParser(description='Process some integers.')
|
||||
|
||||
sp = p.add_subparsers(dest='command')
|
||||
sp = p.add_subparsers(dest='command', required=True)
|
||||
|
||||
p_standalone = sp.add_parser('standalone', help=command_standalone.__doc__)
|
||||
p_standalone.add_argument('--config-path', '-c', required=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue