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/nl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toys/posix/nl.c') diff --git a/toys/posix/nl.c b/toys/posix/nl.c index 32848332..3dbfcfd1 100644 --- a/toys/posix/nl.c +++ b/toys/posix/nl.c @@ -18,9 +18,9 @@ config NL Number lines of input. -E Use extended regex syntax (when doing -b pREGEX) - -b which lines to number: a (all) t (non-empty, default) pREGEX (pattern) + -b Which lines to number: a (all) t (non-empty, default) pREGEX (pattern) -l Only count last of this many consecutive blank lines - -n number STYLE: ln (left justified) rn (right justified) rz (zero pad) + -n Number STYLE: ln (left justified) rn (right justified) rz (zero pad) -s Separator to use between number and line (instead of TAB) -w Width of line numbers (default 6) */ -- cgit v1.2.3