Make service argument optional so that you can actually use all services
This commit is contained in:
parent
b9538f74dd
commit
f0c6d1124c
@ -82,7 +82,11 @@ def main(argv=sys.argv[1:]):
|
|||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
|
|
||||||
# Keep this for backwards compat
|
# Keep this for backwards compat
|
||||||
parser.add_argument("service", type=str)
|
parser.add_argument(
|
||||||
|
"service",
|
||||||
|
type=str,
|
||||||
|
nargs='?',
|
||||||
|
default=None)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'-H', '--host', type=str,
|
'-H', '--host', type=str,
|
||||||
help='Which host to bind',
|
help='Which host to bind',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user