RegistryOption does not show possible values with value_switches=False
Aaron Bentley
aaron.bentley at utoronto.ca
Fri Oct 26 12:47:00 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Adeodato Simó wrote:
> Hello.
>
> I just noticed that if I create a RegistryOption with value_switches=False,
> the help output for the command does not include a list of possible values
> for the option. Is this intentional?
Yes.
> How can the user know those values?
They should be manually included in the help, either in the body of the
command, or as a see also (like "see also revisionspec").
> Or is it believed that every RegistryOption in the bzr codebase should be
> using value_switches=True?
No, that is not the belief.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHIdOz0F+nu1YWqI0RAhFTAJ9wp0XIlM4g18CSkmT23OdjIRggUACfXsFw
KFAebDyF9nY0MeALwZJbJBg=
=S7wv
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list