2014-05-23 10:22:32 +00:00
|
|
|
diff --git a/src/grep.c b/src/grep.c
|
2016-02-05 15:01:05 +00:00
|
|
|
index 7ffd122..6ef8a7c 100644
|
2014-05-23 10:22:32 +00:00
|
|
|
--- a/src/grep.c
|
|
|
|
+++ b/src/grep.c
|
2016-02-05 15:01:05 +00:00
|
|
|
@@ -1854,17 +1854,20 @@ Output control:\n\
|
2013-07-09 09:35:39 +00:00
|
|
|
-D, --devices=ACTION how to handle devices, FIFOs and sockets;\n\
|
|
|
|
ACTION is 'read' or 'skip'\n\
|
|
|
|
-r, --recursive like --directories=recurse\n\
|
|
|
|
- -R, --dereference-recursive likewise, but follow all symlinks\n\
|
|
|
|
+ -R, --dereference-recursive\n\
|
|
|
|
+ likewise, but follow all symlinks\n\
|
|
|
|
"));
|
|
|
|
printf (_("\
|
|
|
|
- --include=FILE_PATTERN search only files that match FILE_PATTERN\n\
|
2014-11-25 10:09:35 +00:00
|
|
|
- --exclude=FILE_PATTERN skip files and directories matching\
|
2013-07-09 09:35:39 +00:00
|
|
|
+ --include=FILE_PATTERN\n\
|
|
|
|
+ search only files that match FILE_PATTERN\n\
|
|
|
|
+ --exclude=FILE_PATTERN\n\
|
2014-11-25 10:09:35 +00:00
|
|
|
+ skip files and directories matching\
|
|
|
|
FILE_PATTERN\n\
|
2013-07-09 09:35:39 +00:00
|
|
|
--exclude-from=FILE skip files matching any file pattern from FILE\n\
|
|
|
|
- --exclude-dir=PATTERN directories that match PATTERN will be skipped.\n\
|
|
|
|
+ --exclude-dir=PATTERN directories that match PATTERN will be skipped.\n\
|
|
|
|
"));
|
|
|
|
printf (_("\
|
|
|
|
- -L, --files-without-match print only names of FILEs containing no match\n\
|
|
|
|
+ -L, --files-without-match print only names of FILEs containing no match\n\
|
|
|
|
-l, --files-with-matches print only names of FILEs containing matches\n\
|
|
|
|
-c, --count print only a count of matching lines per FILE\n\
|
|
|
|
-T, --initial-tab make tabs line up (if needed)\n\
|