begin adding port support, catch OSError from Flask
This commit is contained in:
parent
29dfacfadb
commit
71c3f9d978
2 changed files with 36 additions and 21 deletions
|
|
@ -34,6 +34,8 @@ if __name__ == '__main__':
|
|||
subparsers = arg_parser.add_subparsers(dest="command")
|
||||
|
||||
api_parser = subparsers.add_parser("api", parents=[parent_parser])
|
||||
api_parser.add_argument("--port", "-p")
|
||||
|
||||
host_parser = subparsers.add_parser("host")
|
||||
host_parser.add_argument("--hostname", required=True)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue