summaryrefslogtreecommitdiff
path: root/Documentation/git-add.txt
diff options
context:
space:
mode:
authorBrian Hetro <whee@smaertness.net>2007-08-26 03:20:06 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-08-26 05:35:44 (GMT)
commit480611d170e1c013b06a49e81a178fefd278b313 (patch)
tree1f4b193632b423739177e80bbccae1eee37fc42e /Documentation/git-add.txt
parent1560be16b94a85df166ae26bcfff11bcd57c2fed (diff)
downloadgit-480611d170e1c013b06a49e81a178fefd278b313.zip
git-480611d170e1c013b06a49e81a178fefd278b313.tar.gz
git-480611d170e1c013b06a49e81a178fefd278b313.tar.bz2
Make usage documentation for git-add consistent.
The usage string for the executable was missing --refresh. In addition, the documentation referred to "file", but the usage string referred to "filepattern". Updated the documentation to "filepattern", as git-add does handle patterns. Signed-off-by: Brian Hetro <whee@smaertness.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-add.txt')
-rw-r--r--Documentation/git-add.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index 3383aca..e5efbc9 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -7,7 +7,9 @@ git-add - Add file contents to the index
SYNOPSIS
--------
-'git-add' [-n] [-v] [-f] [--interactive | -i] [-u] [--refresh] [--] <file>...
+[verse]
+'git-add' [-n] [-v] [-f] [--interactive | -i] [-u] [--refresh]
+ [--] <filepattern>...
DESCRIPTION
-----------
@@ -41,7 +43,7 @@ commit.
OPTIONS
-------
-<file>...::
+<filepattern>...::
Files to add content from. Fileglobs (e.g. `*.c`) can
be given to add all matching files. Also a
leading directory name (e.g. `dir` to add `dir/file1`