[Webkit-unassigned] [Bug 37836] Attempt to make new-run-webkit-tests --help more sane

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 20 12:33:13 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=37836





--- Comment #10 from Chris Jerdonek <cjerdonek at webkit.org>  2010-04-20 12:33:12 PST ---
(In reply to comment #1)
> Created an attachment (id=53757)
 --> (https://bugs.webkit.org/attachment.cgi?id=53757) [details]

>          optparse.make_option("--startup-dialog", action="store_true",
> -            default=False, help="create a dialog on DumpRenderTree startup"),
> +            help="Create a dialog on test_shell startup."),

FWIW, I'd prefer if we can stick with the optparse convention of starting all
help text with a lower-case letter:

http://docs.python.org/library/optparse.html

(Subsequent sentences can start with a capital letter if there is more than one
sentence.)

optparse also does this in its default --help and --version help texts.

This is also the approach I took when refactoring check-webkit-style to use
optparse:

http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/webkitpy/style/optparser.py?rev=57056#L295

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list