summaryrefslogtreecommitdiff
path: root/src/grep.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-11-29 17:18:48 +0100
committerJim Meyering <meyering@redhat.com>2009-11-30 16:55:04 +0100
commitd44cfc189dc3ae86d6eee28a53f243c8cd7d156c (patch)
treec1534176d9de189c158efd9ccb5995502ca5fff5 /src/grep.c
parentce99e9bfe11aaff027cb210bc232a3b36eddbf33 (diff)
downloadgrep-d44cfc189dc3ae86d6eee28a53f243c8cd7d156c.tar.gz
maint: enable two checks
* cfg.mk (local-checks-to-skip): Enable two: sc_prohibit_xalloc_without_use sc_two_space_separator_in_usage * src/grep.c (usage): Conform: use two spaces, not 1. * src/kwset.c (malloc): Define as a function-macro so that the syntax-check rule sees that we are indeed using xmalloc here.
Diffstat (limited to 'src/grep.c')
-rw-r--r--src/grep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/grep.c b/src/grep.c
index c6590652..fbeb0899 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -1472,8 +1472,8 @@ Output control:\n\
--include=FILE_PATTERN search only files that match FILE_PATTERN\n\
--exclude=FILE_PATTERN skip files and directories matching FILE_PATTERN\n\
--exclude-from=FILE skip files matching any file pattern from FILE\n\
- --exclude-dir=PATTERN directories that match PATTERN will be skipped.\n\
- -L, --files-without-match print only names of FILEs containing no match\n\
+ --exclude-dir=PATTERN directories that match PATTERN will be skipped.\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\