Commits

Geoffrey Sneddon committed 56f77d6

Improve --help.

  • Participants
  • Parent commits a9fb72b

Comments (0)

Files changed (1)

                       help="Disable the process given as the option value")
 
     parser.add_option("", "--parser", type="choice",
-                      choices=("html5lib", "lxml.html"))
+                      choices=("html5lib", "lxml.html"),
+                      help="Choose what parser to use. Valid options: html5lib, lxml.html")
 
     parser.add_option("", "--serializer", type="choice",
-                      choices=("html5lib", "lxml.html"))
+                      choices=("html5lib", "lxml.html"),
+                      help="Choose what serializer to use. Valid options: html5lib, lxml.html")
 
     parser.add_option("", "--newline-char", action="store", type="string",
                       dest="newline_char",