[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:02:37 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Matthieu Moy wrote:
> Hi,
>
> It's quite common in other tools having an option to choose between a
> fixed set of strings to provide the list of possibilities with the
> string "help", like "mplayer -vo help" does for example.
>
> It would be cool if "bzr log --log-format help" did the same.
>
I think it makes more sense for:
bzr log --help
To just explain the log formats.
Which it already does, though not in a very clear way. We could try to
make it more clear. Maybe change the help text to:
- --log-format ARG Set the log format. (can be: line, long, short).
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.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEpxstJdeBCYSNAAMRAle7AJ9UoNtf8FzGM5hfOxzDBPYwuPaqsgCgoPne
DL9n1u1MAveHn8QjgclShmU=
=kZcR
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list