From ab09b29c2df5fe99c2fa02242f28dda2126d0e04 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 21 Jul 2010 11:30:31 -0400 Subject: [PATCH] Add defaults to `bin/cook.py --help` output, where appropriate. --- bin/cook.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/cook.py b/bin/cook.py index ab9f774..4a872be 100755 --- a/bin/cook.py +++ b/bin/cook.py @@ -48,9 +48,11 @@ if __name__ == '__main__': p.add_option('-s', '--serve', dest='serve', default=False, action='store_true', help='serve cookbook') p.add_option('-a', '--address', dest='address', default='127.0.0.1', - metavar='ADDR', help='address that the server will bind to') + metavar='ADDR', + help='address that the server will bind to (%default)') p.add_option('-p', '--port', dest='port', default='8080', - metavar='PORT', help='port that the server will listen on') + metavar='PORT', + help='port that the server will listen on (%default)') options,arguments = p.parse_args() -- 2.26.2