grep: correct help string for --exclude-standard
The current help string is about --no-exclude-standard. But "git grep -h" would show --exclude-standard instead. Flip the string. See 0a93fb8 (grep: teach --untracked and --exclude-standard options - 2011-09-27) for more info about these options. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Nguyễn Thái Ngọc Duy committed
Feb 27, 2015 at 21:01 UTC
77fdb8a82cc624bb3c720b87725abae4d0df5073
1 file changed
+1
-1
builtin/grep.c
+1
-1
@@ -643,7 +643,7 @@ int cmd_grep(int argc, const char **argv, const char *prefix)
643
OPT_BOOL(0, "untracked", &untracked,
644
N_("search in both tracked and untracked files")),
645
OPT_SET_INT(0, "exclude-standard", &opt_exclude,
646
- N_("search also in ignored files"), 1),
646
+ N_("ignore files specified via '.gitignore'"), 1),
647
OPT_GROUP(""),
648
OPT_BOOL('v', "invert-match", &opt.invert,
649
N_("show non-matching lines")),