Merge branch 'jh/maint-do-not-track-non-branches' into maint
[gitweb.git] / builtin / grep.c
index 34f9ae03044f8f4c1bf36c41791020fe5b125b2c..bb0f93208fc6c3e418f9db5bcaec4b79c57e2bec 100644 (file)
@@ -864,7 +864,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,