[eliz at gnu.org: [Bug 511523] [NEW] Please document QUERY argument to bzr search]

Martin Pool mbp at canonical.com
Wed Jan 27 17:26:52 GMT 2010


2010/1/24 Eli Zaretskii <eliz at gnu.org>:
> I filed the doc bug below against bzr-search.  But in the meanwhile,
> could someone "in the know" please tell what can be used as the QUERY
> argument to bzr-search?  I looked into index.py, but couldn't find the
> answer.

Good question!

Knowing that bzr-search was written by Robert (who is a mad genius of
testing, but not quite so much about documentation) I looked in the
tests/ directory, and saw that you can either give it a series of
words, or you can ask for negative matches by prefixing them with a
dash

  bzr search -- with -without

where the -- is required so that it doesn't look like an option.

It's a bit like ctags/etags in that it searches an index of words.  I
don't think it can take regexps.


-- 
Martin <http://launchpad.net/~mbp/>



More information about the bazaar mailing list