Provide default port number
This commit is contained in:
parent
5140244d13
commit
77c156b7db
@ -8,7 +8,7 @@ class Cli:
|
|||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
# parser.add_argument('--gui', help='Show the GUI', action='store_true')
|
# parser.add_argument('--gui', help='Show the GUI', action='store_true')
|
||||||
parser.add_argument('--no-flask', action='store_false', dest='flask', help='Disable the internal flask web server')
|
parser.add_argument('--no-flask', action='store_false', dest='flask', help='Disable the internal flask web server')
|
||||||
parser.add_argument('--port', help='The port to listen for incoming requests')
|
parser.add_argument('--port', help='The port to listen for incoming requests', default='8082')
|
||||||
|
|
||||||
parser.add_argument('html', help='The path from where to look for HTML export files', nargs=1, default=['.'])
|
parser.add_argument('html', help='The path from where to look for HTML export files', nargs=1, default=['.'])
|
||||||
parser.add_argument('-o', '--output', help='Set the output path of the script', nargs=1, default=[None])
|
parser.add_argument('-o', '--output', help='Set the output path of the script', nargs=1, default=[None])
|
||||||
|
Loading…
Reference in New Issue
Block a user