[MERGE] optparse mark II

Aaron Bentley aaron.bentley at utoronto.ca
Wed Aug 16 14:23:05 BST 2006


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

Hi all,

This patch is a less-ambitious move to optparse option parsing; it
doesn't introduce EnumOptions, since it appears those need to be
reworked.  I hope to get this into 0.10, and we can improve it from there.

So the only change in behaviour is that negation forms are generated for
all boolean options.

That is, "bzr commit --strict --no-strict" does a non-strict commit,
because --no-stict came last.  This is especially useful for overriding
aliases.

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

iD8DBQFE4xw50F+nu1YWqI0RAvqOAJoCteBcmQi/WKRFE6XCBuKctDdiSACePLbk
ovWGREMYHyNhHeDuxI14R1A=
=7YeT
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: optparse.patch
Type: text/x-patch
Size: 16846 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060816/0084499c/attachment.bin 


More information about the bazaar mailing list