Add defaults to `bin/cook.py --help` output, where appropriate.
authorW. Trevor King <wking@drexel.edu>
Wed, 21 Jul 2010 15:30:31 +0000 (11:30 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 21 Jul 2010 15:30:31 +0000 (11:30 -0400)
bin/cook.py

index ab9f774b11285253f79614bab9fa2be7f214caa8..4a872bee0e1e75c817bc1ceaf978f20f0afeef82 100755 (executable)
@@ -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()