aboutsummaryrefslogtreecommitdiff
path: root/builtin/grep.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-03-28 14:17:17 -0700
committerJunio C Hamano <gitster@pobox.com>2011-03-28 14:17:17 -0700
commit61e8aaf6215a2983610a770645e6d0a24bafb454 (patch)
treedafb753af176f0303e7a65f775004c38c85f08f2 /builtin/grep.c
parent730477f199489d61b960633501c390e03f04cba9 (diff)
parentf1723ee6b370c3d0cfaaea9d02188175a8d85af6 (diff)
downloadgit-61e8aaf6215a2983610a770645e6d0a24bafb454.tar.gz
git-61e8aaf6215a2983610a770645e6d0a24bafb454.tar.xz
Merge branch 'maint'
* maint: git tag documentation grammar fixes and readability updates grep: Add the option '--line-number'
Diffstat (limited to 'builtin/grep.c')
-rw-r--r--builtin/grep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/grep.c b/builtin/grep.c
index 0bf8c0116..85e9583a1 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,