Interesting side effect
John Arbash Meinel
john at arbash-meinel.com
Wed Aug 6 14:44:54 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I don't know if everyone realizes, but when we switched to using
Optparse we got an accidental feature. Optparse allows you to give just
the unique prefix for options.
So while the option is "bzr missing --mine-only" optparse allows you to
do "bzr missing --mine". We've talked about getting rid of it, so that
people don't get used to shortcutting options, only to have that change
when we add a similar option.
However, it did help me just recently with:
$ bzr init-repo --btree
bzr: ERROR: ambiguous option: --btree (--btree-plain, --btree-rich-root,
- --btree-subtrees?)
It is nice to get option suggestions. Perhaps we could turn that on
instead of just refusing "bzr missing --mine" ?
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkiZqtYACgkQJdeBCYSNAAPMfwCeICOr/WPRjH2wwErIrjqShAmV
GysAoL4whufxxGndTbDNQClxFFdKR/Ju
=SaI9
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list