From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Couder Subject: [PATCH 2/2] Documentation: grep: fix asciidoc problem with -- Date: Fri, 25 Jun 2010 04:16:24 +0200 Message-ID: <20100625021625.12918.85714.chriscool@tuxfamily.org> Cc: git@vger.kernel.org, Johannes Schindelin , Sverre Rabbelier , Ramkumar Ramachandra , Jonathan Nieder , Jeff King To: Junio C Hamano X-From: git-owner@vger.kernel.org Fri Jun 25 04:19:28 2010 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ORyVq-0006LH-21 for gcvg-git-2@lo.gmane.org; Fri, 25 Jun 2010 04:19:26 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754586Ab0FYCTN (ORCPT ); Thu, 24 Jun 2010 22:19:13 -0400 Received: from smtp3-g21.free.fr ([212.27.42.3]:50635 "EHLO smtp3-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754078Ab0FYCTK (ORCPT ); Thu, 24 Jun 2010 22:19:10 -0400 Received: from style.boubyland (unknown [82.243.130.161]) by smtp3-g21.free.fr (Postfix) with ESMTP id A9397818042; Fri, 25 Jun 2010 04:19:03 +0200 (CEST) X-git-sha1: 9cdbab1d4fc1b9adaf427fbe743978f097556b34 X-Mailer: git-mail-commits v0.5.2 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Asciidoc interprets two dashes separated by spaces as a single big dash. So let's escape the first dash, so that "\--" will properly appear as "--". Signed-off-by: Christian Couder --- Documentation/git-grep.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/git-grep.txt b/Documentation/git-grep.txt index d89ec32..5474dd7 100644 --- a/Documentation/git-grep.txt +++ b/Documentation/git-grep.txt @@ -191,7 +191,7 @@ OPTIONS Examples -------- -git grep 'time_t' -- '*.[ch]':: +git grep 'time_t' \-- '*.[ch]':: Looks for `time_t` in all tracked .c and .h files in the working directory and its subdirectories. -- 1.7.1.642.gc3eb1