Code

Documentation: add: <filepattern>... is optional
authorPaul Bolle <pebolle@tiscali.nl>
Tue, 11 Aug 2009 13:03:10 +0000 (15:03 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Aug 2009 23:15:47 +0000 (16:15 -0700)
<filepattern>... is optional (e.g. when the --all or --update
options are used) so use square brackets in the synopsis.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-add.txt

index ab1943c71243df245f84ede7a69e4c666a8d8834..e67b7e875efb465505a969dfe0d29814c87ac9a6 100644 (file)
@@ -10,7 +10,7 @@ SYNOPSIS
 [verse]
 'git add' [-n] [-v] [--force | -f] [--interactive | -i] [--patch | -p]
          [--edit | -e] [--all | [--update | -u]] [--intent-to-add | -N]
-         [--refresh] [--ignore-errors] [--] <filepattern>...
+         [--refresh] [--ignore-errors] [--] [<filepattern>...]
 
 DESCRIPTION
 -----------