Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-03-29 01:17:17 +0400
committerJunio C Hamano <gitster@pobox.com>2011-03-29 01:17:17 +0400
commit61e8aaf6215a2983610a770645e6d0a24bafb454 (patch)
treedafb753af176f0303e7a65f775004c38c85f08f2 /builtin
parent730477f199489d61b960633501c390e03f04cba9 (diff)
parentf1723ee6b370c3d0cfaaea9d02188175a8d85af6 (diff)
Merge branch 'maint'
* maint: git tag documentation grammar fixes and readability updates grep: Add the option '--line-number'
Diffstat (limited to 'builtin')
-rw-r--r--builtin/grep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/grep.c b/builtin/grep.c
index 0bf8c0116a..85e9583a13 100644
--- a/builtin/grep.c
+++ b/builtin/grep.c
@@ -769,7 +769,7 @@ int cmd_grep(int argc, const char **argv, const char *prefix)
OPT_BOOLEAN('F', "fixed-strings", &opt.fixed,
"interpret patterns as fixed strings"),
OPT_GROUP(""),
- OPT_BOOLEAN('n', NULL, &opt.linenum, "show line numbers"),
+ OPT_BOOLEAN('n', "line-number", &opt.linenum, "show line numbers"),
OPT_NEGBIT('h', NULL, &opt.pathname, "don't show filenames", 1),
OPT_BIT('H', NULL, &opt.pathname, "show filenames", 1),
OPT_NEGBIT(0, "full-name", &opt.relative,