Help issues

Jan Hudec bulb at ucw.cz
Sun Jan 29 10:27:13 GMT 2006


Hello,

I hoped the usage in --help is generated from the list of options a command
actually takes. But it seems not to be the case:

bulb at efreet:~/dev/bzr/bzr.ignore$ bzr selftest --help
usage: bzr selftest [TESTSPECS...]

Run internal test suite.

This creates temporary test directories in the working directory,
but not existing data is affected.  These directories are deleted
if the tests pass, or left behind to help in debugging if they
fail and --keep-output is specified.

If arguments are given, they are regular expressions that say
which tests should run.

options:
    --help, -h                show help message
    --keep-output             keep output directories when tests fail
    --one                     stop when one test fails
    --verbose, -v             display more information
bulb at efreet:~/dev/bzr/bzr.ignore$ bzr selftest --no-plugins TestGlob
running tests...
       bzr: /home/bulb/dev/bzr/bzr.dev/bzr
    bzrlib: /home/bulb/dev/bzr/bzr.dev/bzrlib

/home/bulb/dev/bzr/bzr.dev/bzrlib/transport/ftp.py:311: UserWarning: There are no FTP transport provider tests yet.
  warn("There are no FTP transport provider tests yet.")
/home/bulb/dev/bzr/bzr.dev/bzrlib/transport/http.py:434: UserWarning: There are no HTTPS transport provider tests yet.
  warn("There are no HTTPS transport provider tests yet.")
~~~~~~~~~~~
----------------------------------------------------------------------
Ran 11 tests in 0.012s

OK
tests passed


It's a branch synced with bzr.dev up to revno 1524.

Is anyone working on improving this?

-- 
						 Jan 'Bulb' Hudec <bulb at ucw.cz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060129/d01dab35/attachment.pgp 


More information about the bazaar mailing list