Meaning of "--no-foo"

Gordon Tyler gordon at doxxx.net
Sat May 14 19:05:30 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
On 5/14/2011 10:19 AM, Ben Finney wrote:
> ‘--no-remember’ implies, to me, that the default “remember”
> behaviour will not happen *on this one command*. I would be
> unpleasantly surprised if that option caused previously remembered
> settings to be wiped.
>
>> It seems to me that "--no-foo" should mean just what it says:
>> "don't do foo".

Agreed. The option is a boolean which can have one of two states. The
default is either true or false, whatever that may be. If you want to
*force* the option to true, you use --option. If you want to *force*
the option to false, you use --no-option. That to me is the most logical.

Ciao,
Gordon


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
iQEcBAEBAgAGBQJNztJ6AAoJEIrPJfWinA2uBIUH/3BsLYFK4sYOY9LQ/GB7JegN
DlLb/ObECQFDkQmlX1ghOcYbc/KPs2Lar146jjhmGGkMChH8iC01xSAypINce+sv
Pk3PDXw0Er1hmtxZ3CDQJ9uP1/UDGLiZ+eZPTfPciO1j+sKUnajDet2RcIJIFF8G
BLuKhD3ZLqt4S9a64Qtebijg2ha4e4KkE9k/hDpaadwbSxIjqUJrY0DxAsQuS5IG
Msx5TEAB/urgRB+k+jnreyhBkvrJWKUFDPtrtFmuTuYwTYR7x+x1BDlXVH2N0v0J
CcoBrYpDg+8+atYATKkjV7usTSSkKxuhKcN9HriLiJtuS3PmZ52Ewqb1SCjvQ7M=
=EMK8
-----END PGP SIGNATURE-----




More information about the bazaar mailing list