summaryrefslogtreecommitdiffstats
path: root/git-rev-parse.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2008-03-09 10:39:09 +0000
committerJunio C Hamano <junio@hera.kernel.org>2008-03-09 10:39:09 +0000
commitbb34317b8b0b3c34f91f17697ad618fe19148f7b (patch)
tree85724163a9cd7c33a30065f943e737740960a9df /git-rev-parse.html
parent86bccccdbdcef5b72f60cca6ec3d9594b271dc63 (diff)
downloadgit-htmldocs-bb34317b8b0b3c34f91f17697ad618fe19148f7b.tar.gz
Autogenerated HTML docs for v1.5.4.4-481-g5075
Diffstat (limited to 'git-rev-parse.html')
-rw-r--r--git-rev-parse.html34
1 files changed, 28 insertions, 6 deletions
diff --git a/git-rev-parse.html b/git-rev-parse.html
index 54cad8557..9e07b1936 100644
--- a/git-rev-parse.html
+++ b/git-rev-parse.html
@@ -770,7 +770,7 @@ The lines after the separator describe the options.</p>
<p>Each line of options has this format:</p>
<div class="listingblock">
<div class="content">
-<pre><tt>&lt;opt_spec&gt;&lt;arg_spec&gt;? SP+ help LF</tt></pre>
+<pre><tt>&lt;opt_spec&gt;&lt;flags&gt;* SP+ help LF</tt></pre>
</div></div>
<dl>
<dt>
@@ -785,14 +785,36 @@ The lines after the separator describe the options.</p>
</p>
</dd>
<dt>
-<tt>&lt;arg_spec&gt;</tt>
+<tt>&lt;flags&gt;</tt>
</dt>
<dd>
<p>
- an <tt>&lt;arg_spec&gt;</tt> tells the option parser if the option has an argument
- (<tt>=</tt>), an optional one (<tt>?</tt> though its use is discouraged) or none
- (no <tt>&lt;arg_spec&gt;</tt> in that case).
+ <tt>&lt;flags&gt;</tt> are of <tt>*</tt>, <tt>=</tt>, <tt>?</tt> or <tt>!</tt>.
</p>
+<ul>
+<li>
+<p>
+Use <tt>=</tt> if the option takes an argument.
+</p>
+</li>
+<li>
+<p>
+Use <tt>?</tt> to mean that the option is optional (though its use is discouraged).
+</p>
+</li>
+<li>
+<p>
+Use <tt>*</tt> to mean that this option should not be listed in the usage
+ generated for the <tt>-h</tt> argument. It's shown for <tt>--help-all</tt> as
+ documented in <a href="gitcli.html">gitcli(5)</a>.
+</p>
+</li>
+<li>
+<p>
+Use <tt>!</tt> to not make the corresponding negated long option available.
+</p>
+</li>
+</ul>
</dd>
</dl>
<p>The remainder of the line, after stripping the spaces, is used
@@ -834,7 +856,7 @@ Junio C Hamano &lt;junkio@cox.net&gt; and Pierre Habouzit &lt;madcoder@debian.or
</div>
<div id="footer">
<div id="footer-text">
-Last updated 01-Feb-2008 10:52:24 UTC
+Last updated 09-Mar-2008 10:38:33 UTC
</div>
</div>
</body>