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

John Arbash Meinel john at arbash-meinel.com
Sun Jul 2 02:12:55 BST 2006


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

Aaron Bentley wrote:
> 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

That would be one solution.
I was looking to change the help description on the '--log-format' line.
But this might be easier to implement.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEpx2XJdeBCYSNAAMRAqx3AKDBhpa5HLPp/5q66c6WyJ8H9aWa3wCcDKiC
OPcFHvXAwSwx3bqK9brBjko=
=F+c1
-----END PGP SIGNATURE-----




More information about the bazaar mailing list