Autogenerated HTML docs for v1.1.5-g3480
[git.git] / git-grep.html
index a4c233f..4fb85d5 100644 (file)
@@ -272,7 +272,7 @@ git-grep(1) Manual Page
 </div>\r
 <h2>SYNOPSIS</h2>\r
 <div class="sectionbody">\r
-<p><em>git-grep</em> &lt;option&gt;&#8230; &lt;pattern&gt; &lt;path&gt;&#8230;</p>\r
+<p><em>git-grep</em> [&lt;option&gt;&#8230;] [-e] &lt;pattern&gt; [--] [&lt;path&gt;&#8230;]</p>\r
 </div>\r
 <h2>DESCRIPTION</h2>\r
 <div class="sectionbody">\r
@@ -283,21 +283,41 @@ containing a match to the given pattern.</p>
 <div class="sectionbody">\r
 <dl>\r
 <dt>\r
+<tt>--</tt>\r
+</dt>\r
+<dd>\r
+<p>\r
+        Signals the end of options; the rest of the parameters\r
+        are &lt;path&gt; limiters.\r
+</p>\r
+</dd>\r
+<dt>\r
 &lt;option&gt;&#8230;\r
 </dt>\r
 <dd>\r
 <p>\r
         Either an option to pass to <tt>grep</tt> or <tt>git-ls-files</tt>.\r
-        Some <tt>grep</tt> options, such as <tt>-C</tt> and <tt>-m</tt>, that take\r
-        parameters are known to <tt>git-grep</tt>.\r
 </p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>The following are the specific `git-ls-files` options\r
+that may be given: `-o`, `--cached`, `--deleted`, `--others`,\r
+`--killed`, `--ignored`, `--modified`, `--exclude=*`,\r
+`--exclude-from=*`, and `--exclude-per-directory=*`.</tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>All other options will be passed to `grep`.</tt></pre>\r
+</div></div>\r
 </dd>\r
 <dt>\r
 &lt;pattern&gt;\r
 </dt>\r
 <dd>\r
 <p>\r
-        The pattern to look for.\r
+        The pattern to look for.  The first non option is taken\r
+        as the pattern; if your pattern begins with a dash, use\r
+        <tt>-e &lt;pattern&gt;</tt>.\r
 </p>\r
 </dd>\r
 <dt>\r
@@ -325,7 +345,7 @@ containing a match to the given pattern.</p>
 </div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 27-Dec-2005 00:16:10 PDT\r
+Last updated 21-Jan-2006 23:50:17 PDT\r
 </div>\r
 </div>\r
 </body>\r