From: Matthias Lederhofer Subject: [PATCH] correct documentation for git grep Date: Mon, 26 Jun 2006 02:06:47 +0200 Message-ID: References: <20060625184757.f8273820.tihirvon@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-From: git-owner@vger.kernel.org Mon Jun 26 02:06:56 2006 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fuecu-0005t9-Fx for gcvg-git@gmane.org; Mon, 26 Jun 2006 02:06:52 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964945AbWFZAGu (ORCPT ); Sun, 25 Jun 2006 20:06:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964946AbWFZAGt (ORCPT ); Sun, 25 Jun 2006 20:06:49 -0400 Received: from moooo.ath.cx ([85.116.203.178]:5600 "EHLO moooo.ath.cx") by vger.kernel.org with ESMTP id S964945AbWFZAGt (ORCPT ); Sun, 25 Jun 2006 20:06:49 -0400 To: git@vger.kernel.org Mail-Followup-To: git@vger.kernel.org Content-Disposition: inline In-Reply-To: User-Agent: mutt-ng/devel-r790 (Linux) Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Signed-off-by: Matthias Lederhofer --- The 'or' as logic or should be marked in the text. I did that in the patch with --and too so if this is accepted the documentation should be consistent. Sorry for the noise. Documentation/git-grep.txt | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/Documentation/git-grep.txt b/Documentation/git-grep.txt index 7b810df..ebfe51b 100644 --- a/Documentation/git-grep.txt +++ b/Documentation/git-grep.txt @@ -16,7 +16,7 @@ SYNOPSIS [-n] [-l | --files-with-matches] [-L | --files-without-match] [-c | --count] [-A ] [-B ] [-C ] - [-f ] [-e ] + [-f ] [-e] [-e [..]] [...] [--] [...] @@ -71,6 +71,12 @@ OPTIONS -f :: Read patterns from , one per line. +-e:: + The next parameter is a pattern. This option has to be + used for patterns starting with - and should be used in + scripts passing user input to grep. You can specify multiple + patterns which will be combined by 'or'. + `...`:: Search blobs in the trees for specified patterns. -- 1.4.1.rc1.g72a4-dirty