[Buildbot-commits] [Buildbot] #1762: buildbot usage/help message doesn't include longdescription

Buildbot nobody at buildbot.net
Thu Jan 13 09:00:18 UTC 2011


#1762: buildbot usage/help message doesn't include longdescription
--------------------+--------------------
Reporter:  mjw      |       Owner:  mjw
    Type:  defect   |      Status:  new
Priority:  major    |   Milestone:  0.8.4
 Version:  0.8.3p1  |  Resolution:
Keywords:           |
--------------------+--------------------

Comment (by mjw):

 The fix seems to be easy:

 {{{
 #!patch
 --- a/master/buildbot/scripts/runner.py
 +++ b/master/buildbot/scripts/runner.py
 @@ -146,7 +146,7 @@ class MakerBase(OptionsWithOptionsFile):
          ["quiet", "q", "Do not emit the commands being run"],
          ]

 -    longdesc = """
 +    usage.Options.longdesc = """
      Operates upon the specified <basedir> (or the current directory, if
 not
      specified).
      """
 }}}

 {{{
 $ buildbot --help
 Usage:    buildbot <command> [command options]
 Options:
       --version
       --help     Display this help and exit.
       --verbose

 Operates upon the specified <basedir> (or the current directory, if not
 specified).
 Commands:
 [...]
 }}}

-- 
Ticket URL: <http://trac.buildbot.net/ticket/1762#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list