Code

Documentation: Add --line-number to git-grep synopsis
authorMichał Kiedrowicz <michal.kiedrowicz@gmail.com>
Wed, 4 May 2011 22:00:17 +0000 (00:00 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 May 2011 15:34:04 +0000 (08:34 -0700)
Commit 7d6cb10b ("grep: Add the option '--line-number'", 2011-03-28)
introduced the --line-number option and added its description to OPTIONS
section, but forgot to update SYNOPSIS.

Signed-off-by: Michał Kiedrowicz <michal.kiedrowicz@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-grep.txt

index d7523b3e45ff06bd7a8abf4ff466fe619c8268e7..4a5837881dc46358e47412e418bf0bceac3ddc3f 100644 (file)
@@ -12,7 +12,7 @@ SYNOPSIS
 'git grep' [-a | --text] [-I] [-i | --ignore-case] [-w | --word-regexp]
           [-v | --invert-match] [-h|-H] [--full-name]
           [-E | --extended-regexp] [-G | --basic-regexp]
-          [-F | --fixed-strings] [-n]
+          [-F | --fixed-strings] [-n | --line-number]
           [-l | --files-with-matches] [-L | --files-without-match]
           [(-O | --open-files-in-pager) [<pager>]]
           [-z | --null]