Skip to content

Commit 2408f3b

Browse files
committed
Merge branch 'nd/grep-exclude-standard-help-fix' into maint
Description given by "grep -h" for its --exclude-standard option was phrased poorly. * nd/grep-exclude-standard-help-fix: grep: correct help string for --exclude-standard
2 parents 3af1bca + 77fdb8a commit 2408f3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/grep.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ int cmd_grep(int argc, const char **argv, const char *prefix)
641641
OPT_BOOL(0, "untracked", &untracked,
642642
N_("search in both tracked and untracked files")),
643643
OPT_SET_INT(0, "exclude-standard", &opt_exclude,
644-
N_("search also in ignored files"), 1),
644+
N_("ignore files specified via '.gitignore'"), 1),
645645
OPT_GROUP(""),
646646
OPT_BOOL('v', "invert-match", &opt.invert,
647647
N_("show non-matching lines")),

0 commit comments

Comments
 (0)