From: W. Trevor King Date: Wed, 21 Jul 2010 15:30:31 +0000 (-0400) Subject: Add defaults to `bin/cook.py --help` output, where appropriate. X-Git-Tag: v0.1~22 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ab09b29c2df5fe99c2fa02242f28dda2126d0e04;p=cookbook.git Add defaults to `bin/cook.py --help` output, where appropriate. --- 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()