From 141a075c0e192dc9910e777270114b1864270bfd Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 4 Dec 2018 14:22:12 -0800 Subject: Clean up some --help formatting. Be consistent about upper versus lower case. (Upper seems to have the majority, so I went with that, though I'm happy to provide the opposite patch as long as we're consistent!) Be consistent about using \t. (Though saving a few bytes seems like it might be better done in the code that generates help.h rather than directly in the source, since tabs make careful ASCII art layout hard enough that we regularly have things misaligned.) Remove trailing periods (most of which seem to have been added by me). Always use the US "human readable" rather than my British "human-readable", and be more consistent about declaring whether we're showing multiples of 1000 or 1024. Just say "verbose" rather than adding a useless "mode" or "output". --- toys/posix/patch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toys/posix/patch.c') diff --git a/toys/posix/patch.c b/toys/posix/patch.c index 1a3c7bbb..2dc9a728 100644 --- a/toys/posix/patch.c +++ b/toys/posix/patch.c @@ -28,11 +28,11 @@ config PATCH Apply a unified diff to one or more files. - -d modify files in DIR + -d Modify files in DIR -i Input file (defaults=stdin) -l Loose match (ignore whitespace) -p Number of '/' to strip from start of file paths (default=all) - -R Reverse patch. + -R Reverse patch -u Ignored (only handles "unified" diffs) --dry-run Don't change files, just confirm patch applies -- cgit v1.2.3