aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-09-29 21:04:12 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-09-29 21:04:12 +0000
commit6c30db8bd37da1466dc71bf3c8c20851d8f46c43 (patch)
tree7585fdac678edd30f1b46a0cb999619cb0b981cf /include
parent51937534fb6ae25b4197ac03635bb09a405957ba (diff)
downloadbusybox-6c30db8bd37da1466dc71bf3c8c20851d8f46c43.tar.gz
grep: add help text; fix style
Diffstat (limited to 'include')
-rw-r--r--include/usage.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h
index bb814f1f8..543befca3 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -927,7 +927,7 @@ USE_FEATURE_DATE_ISOFMT( \
"\t-H login_host\tLog login_host into the utmp file as the hostname"
#define grep_trivial_usage \
- "[-ihHnqvs" \
+ "[-ihHnqvso" \
USE_FEATURE_GREP_EGREP_ALIAS("E") \
USE_FEATURE_GREP_CONTEXT("ABC") \
"] PATTERN [FILEs...]"
@@ -945,6 +945,7 @@ USE_FEATURE_DATE_ISOFMT( \
"\t-s\tsuppress file open/read error messages\n" \
"\t-c\tonly print count of matching lines\n" \
"\t-f\tread PATTERN from file\n" \
+ "\t-o\tshow only the part of a line that matches PATTERN\n" \
"\t-e\tPATTERN is a regular expression\n" \
"\t-F\tPATTERN is a set of newline-separated strings" \
USE_FEATURE_GREP_EGREP_ALIAS("\n\t-E\tPATTERN is an extended regular expression") \