Comment 4 for bug 591233

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 591233] Re: support -e to specify pattern

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

Brian de Alwis wrote:
>> Escaping "-" seems to allows the patterns starting with "-" to be
>> searched.
>
> That's a nifty workaround. I would still recommend adding -e: it's the
> standard mechanism that most Unix savvy non-Pythoners would expect.
>
> BTW: thanks for your work on bzr-grep. It's been far more useful than
> I anticipated.
>

I'm also pretty sure that:

bzr grep -- "-pattern"

Should work just fine. and "--" is the standard "end of option flags"
argument.

I don't really care whether or not it takes '-e'.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwPt8QACgkQJdeBCYSNAANvfwCeM7tflBzNngzS6o3jzsjtPS7X
39oAn2IaHfdpA9Y/yCheVx7+18BoykSY
=hgO2
-----END PGP SIGNATURE-----