[RFC] bzr log --log-format help should give the list of log formats

Aaron Bentley aaron.bentley at utoronto.ca
Sun Jul 2 02:10:02 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Arbash Meinel wrote:

> Even better if we read bzrlib.log.FORMATTERS.keys() to fill out that
> list, so that if you install a plugin, registering its format, adds an
> entry to that list.
> 
> I'm not sure if we can do that very easily with the current option code,
> though.

Using the doctext for help is just the default implementation of
Command.help().  You can supply your own help() if you need something
fancy.  See cmd_merge for an example of how I'm doing that.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEpxzq0F+nu1YWqI0RAhXsAJ9WkDn/o/+FsfVUBvXVd0feSl7zSQCfZ02b
5Kc1ziGZ79eeYRXtThUMZ3E=
=V/nR
-----END PGP SIGNATURE-----




More information about the bazaar mailing list