diff makeitso/python_package/tests/test.py @ 126:ea3225facbcf

add a description to the OptionParser
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 25 May 2011 09:10:57 -0700
parents 19ffc278e35c
children 829b7f528483
line wrap: on
line diff
--- a/makeitso/python_package/tests/test.py	Thu May 19 11:17:30 2011 -0700
+++ b/makeitso/python_package/tests/test.py	Wed May 25 09:10:57 2011 -0700
@@ -40,7 +40,7 @@
 def main(args=sys.argv[1:]):
 
     # parse command line args
-    parser = OptionParser()
+    parser = OptionParser(description=__doc__)
     parser.add_option('--raise', dest='raise_on_error',
                       default=False, action='store_true',
                       help="raise on first error")