We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03f1db8 commit 37afc3dCopy full SHA for 37afc3d
1 file changed
elivepatch_server/elivepatch_server.py
@@ -16,19 +16,22 @@ def parse_args():
16
parser = argparse.ArgumentParser()
17
18
parser.add_argument('-j', '--jobs', type=int,
19
- default=multiprocessing.cpu_count())
+ default=multiprocessing.cpu_count(),
20
+ help='Specify the number of make jobs')
21
22
parser.add_argument('-H', '--host', type=str,
- default='0.0.0.0')
23
+ default='0.0.0.0',
24
+ help='Specify the host')
25
26
parser.add_argument('-P', '--port', type=int,
- default='5000')
27
+ default='5000',
28
+ help='Specify the port')
29
- parser.add_argument('-T', '--threaded', type=bool,
- default=True)
30
+ parser.add_argument('-T', '--threaded', action='store_true',
31
+ help='Enable threading')
32
- parser.add_argument('-d', '--debug', type=bool,
- default=False)
33
+ parser.add_argument('-d', '--debug', action='store_true',
34
+ help='Enable debugging')
35
36
return parser.parse_args()
37
0 commit comments