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

Aaron Bentley aaron.bentley at utoronto.ca
Thu Aug 3 06:24:24 BST 2006


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

Martin Pool wrote:
> On  1 Jul 2006, Matthieu Moy <Matthieu.Moy at imag.fr> 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 agree, https://launchpad.net/products/bzr/+bug/55013

What I was going to do in the optparse branch was turn log-format into
an EnumOption.  Its help would look like this:

...
  --timezone=ARG        display timezone as local, original, or utc
  --show-ids            show internal object ids
  -r ARG, --revision=ARG

  Log format:
    --long              Multi-line logs with merges shown
    --short             Two-line logs
    --line              One-line logs

How does that grab you?

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

iD8DBQFE0YiH0F+nu1YWqI0RAnqvAJ9UxynqSQKFCufDqzere41YLs96aQCfdPvG
XDGySGEK7hbUEdo4h6kgQcU=
=7alI
-----END PGP SIGNATURE-----




More information about the bazaar mailing list