diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2008-03-09 10:39:09 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2008-03-09 10:39:09 +0000 |
commit | bb34317b8b0b3c34f91f17697ad618fe19148f7b (patch) | |
tree | 85724163a9cd7c33a30065f943e737740960a9df /git-rev-parse.html | |
parent | 86bccccdbdcef5b72f60cca6ec3d9594b271dc63 (diff) | |
download | git-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.html | 34 |
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><opt_spec><arg_spec>? SP+ help LF</tt></pre>
+<pre><tt><opt_spec><flags>* 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><arg_spec></tt>
+<tt><flags></tt>
</dt>
<dd>
<p>
- an <tt><arg_spec></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><arg_spec></tt> in that case).
+ <tt><flags></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 <junkio@cox.net> and Pierre Habouzit <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>
|