From 85341e3e24ceb6f6009d52b5ebd9bbf8c7943a4f Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 26 Jan 2024 12:56:58 -0800 Subject: [PATCH] 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... --- toys/posix/grep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.2