From 5e7936123c29f466cca5c789f475b1f17fe44379 Mon Sep 17 00:00:00 2001 From: Steve Pulec Date: Mon, 30 Dec 2013 13:32:07 -0500 Subject: [PATCH] Add comments for optional argparse positional argument --- moto/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moto/server.py b/moto/server.py index ca46b6b54..c1ecef074 100644 --- a/moto/server.py +++ b/moto/server.py @@ -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,