Please document QUERY argument to bzr search

Bug #511523 reported by Eli Zaretskii
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr search plugin
Confirmed
Wishlist
Unassigned

Bug Description

The argument QUERY of the "bzr search" command is not documented at all. What queries can be used? NEWS hints about some, but that is nowhere close to being enough.

Please add some minimal documentation, or a pointer to where it is available.

Tags: doc easy
Eli Zaretskii (eliz)
tags: added: doc
Revision history for this message
Martin Pool (mbp) wrote : Re: [eliz@gnu.org: [Bug 511523] [NEW] Please document QUERY argument to bzr search]

2010/1/24 Eli Zaretskii <email address hidden>:
> 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/>

Revision history for this message
Eli Zaretskii (eliz) wrote : Re: [eliz@gnu.org: [Bug 511523] [NEW] Please document QUERY argument to bzr search]

> Date: Wed, 27 Jan 2010 18:26:52 +0100
> From: Martin Pool <email address hidden>
> Cc: <email address hidden>, <email address hidden>
>
> 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.

Thanks.

Changed in bzr-search:
status: New → Confirmed
importance: Undecided → Wishlist
tags: added: easy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.