aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2024-01-26 12:56:58 -0800
committerRob Landley <rob@landley.net>2024-01-26 18:26:36 -0600
commit85341e3e24ceb6f6009d52b5ebd9bbf8c7943a4f (patch)
tree262a01eeff385ee22a5eed2daeffb1734ea6c181
parent1e04fb285c3c09c4ddb38a89368ca5e7c17c3e88 (diff)
downloadtoybox-85341e3e24ceb6f6009d52b5ebd9bbf8c7943a4f.tar.gz
grep: add missing flags to usage line.
Since this is my second attempt over a fairly short period of time, I'm not 100% confident this is really all of them -- and this casts doubt on the other toys I checked too! -- but until the machines take over this task, meatbots like me will have to keep trying...
-rw-r--r--toys/posix/grep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/grep.c b/toys/posix/grep.c
index 6c73e5ff..74af7b69 100644
--- a/toys/posix/grep.c
+++ b/toys/posix/grep.c
@@ -15,7 +15,7 @@ config GREP
bool "grep"
default y
help
- usage: grep [-bcEFHhIiLlnoqrsvwZz] [-ABC NUM] [-m MAX] [-e REGEX]... [-MS PATTERN]... [-f REGFILE]... [FILE]...
+ usage: grep [-abcEFHhIiLlnoqrsvwxZz] [-ABC NUM] [-m MAX] [-e REGEX]... [-MS PATTERN]... [-f REGFILE]... [FILE]...
Show lines matching regular expressions. If no -e, first argument is
regular expression to match. With no files (or "-" filename) read stdin.