summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorCarlos Rica <jasampler@gmail.com>2008-04-09 11:07:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-04-10 07:20:31 (GMT)
commit3f36cbbaaf87b67abafa851e2808735553f92b06 (patch)
treeddd8abf256cc0925937be005da0d34b874d3410d /Documentation
parentee5a317e0130ab2db59db97c644576335530512d (diff)
downloadgit-3f36cbbaaf87b67abafa851e2808735553f92b06.zip
git-3f36cbbaaf87b67abafa851e2808735553f92b06.tar.gz
git-3f36cbbaaf87b67abafa851e2808735553f92b06.tar.bz2
Fix documentation syntax of optional arguments in short options.
When an argument for an option is optional, like in -n from git-tag, puting a space between the option and the argument is interpreted as a missing argument for the option plus an isolated argument. Documentation now reflects the need to write the parameter following the option -n, as in "git tag -nARG", for instance. Signed-off-by: Carlos Rica <jasampler@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-tag.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt
index b62a3d1..74b461f 100644
--- a/Documentation/git-tag.txt
+++ b/Documentation/git-tag.txt
@@ -11,7 +11,7 @@ SYNOPSIS
[verse]
'git-tag' [-a | -s | -u <key-id>] [-f] [-m <msg> | -F <file>] <name> [<head>]
'git-tag' -d <name>...
-'git-tag' [-n [<num>]] -l [<pattern>]
+'git-tag' [-n[<num>]] -l [<pattern>]
'git-tag' -v <name>...
DESCRIPTION
@@ -54,7 +54,7 @@ OPTIONS
-v::
Verify the gpg signature of the given tag names.
--n <num>::
+-n<num>::
<num> specifies how many lines from the annotation, if any,
are printed when using -l.
The default is not to print any annotation lines.