Negating options

Aaron Bentley aaron.bentley at utoronto.ca
Fri Feb 3 21:56:19 GMT 2006


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

Now that command defaults are on the horizon, (or 'here' in my case)
it's usefult to be able to negate boolean options.  I was thinking we
could make '--no' be a special option that would negate the option
following, like:

$ bzr revert --no reprocess --merge-type weave

Thoughts?

Also, should we consider using optparse (perhaps as a backend) now that
our needs are growing more sophisticated?

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

iD8DBQFD49GD0F+nu1YWqI0RArPXAJ9MtUQmDCAbYpeombZONKZ3tPOEtgCcDYEc
7DNXUgprMf2/pgAJxOmzOuE=
=j7IN
-----END PGP SIGNATURE-----




More information about the bazaar mailing list