Add comments for optional argparse positional argument
This commit is contained in:
parent
f0c6d1124c
commit
5e7936123c
@ -85,7 +85,7 @@ def main(argv=sys.argv[1:]):
|
||||
parser.add_argument(
|
||||
"service",
|
||||
type=str,
|
||||
nargs='?',
|
||||
nargs='?', # http://stackoverflow.com/a/4480202/731592
|
||||
default=None)
|
||||
parser.add_argument(
|
||||
'-H', '--host', type=str,
|
||||
|
Loading…
Reference in New Issue
Block a user