diff options
author | Rob Landley <rob@landley.net> | 2024-04-30 13:03:10 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2024-04-30 13:03:10 -0500 |
commit | f53aab3ce3cd9cd7d36f08df6efb5ff31c48dc26 (patch) | |
tree | b055f6fcb04d023b7bf928600d38030b8eb98b3d | |
parent | 3101559d3589fdd71a23132998bc8feee37b6b71 (diff) | |
download | toybox-f53aab3ce3cd9cd7d36f08df6efb5ff31c48dc26.tar.gz |
Consistently indent help blocks.
-rw-r--r-- | toys/pending/dhcp6.c | 4 | ||||
-rw-r--r-- | toys/pending/diff.c | 54 |
2 files changed, 29 insertions, 29 deletions
diff --git a/toys/pending/dhcp6.c b/toys/pending/dhcp6.c index 72affff6..c186b480 100644 --- a/toys/pending/dhcp6.c +++ b/toys/pending/dhcp6.c @@ -9,9 +9,9 @@ config DHCP6 bool "dhcp6" default n help - usage: dhcp6 [-fbnqvR] [-i IFACE] [-r IP] [-s PROG] [-p PIDFILE] + usage: dhcp6 [-fbnqvR] [-i IFACE] [-r IP] [-s PROG] [-p PIDFILE] - Configure network dynamically using DHCP. + Configure network dynamically using DHCP. -i Interface to use (default eth0) -p Create pidfile diff --git a/toys/pending/diff.c b/toys/pending/diff.c index 5d5ea3d6..27873cfd 100644 --- a/toys/pending/diff.c +++ b/toys/pending/diff.c @@ -14,33 +14,33 @@ config DIFF bool "diff" default n help - usage: diff [-abBdiNqrTstw] [-L LABEL] [-S FILE] [-U LINES] [-F REGEX ] FILE1 FILE2 - - -a Treat all files as text - -b Ignore changes in the amount of whitespace - -B Ignore changes whose lines are all blank - -d Try hard to find a smaller set of changes - -F Show the most recent line matching the regex - -i Ignore case differences - -L Use LABEL instead of the filename in the unified header - -N Treat absent files as empty - -q Output only whether files differ - -r Recurse - -S Start with FILE when comparing directories - -s Report when two files are the same - -T Make tabs line up by prefixing a tab when necessary - -t Expand tabs to spaces in output - -u Unified diff - -U Output LINES lines of context - -w Ignore all whitespace - - --color Color output --strip-trailing-cr Strip '\r' from input lines - --TYPE-line-format=FORMAT Display TYPE (unchanged/old/new) lines using FORMAT - FORMAT uses printf integer escapes (ala %-2.4x) followed by LETTER: FELMNn - Supported format specifiers are: - * %l, the contents of the line, without the trailing newline - * %L, the contents of the line, including the trailing newline - * %%, the character '%' + usage: diff [-abBdiNqrTstw] [-L LABEL] [-S FILE] [-U LINES] [-F REGEX ] FILE1 FILE2 + + -a Treat all files as text + -b Ignore changes in the amount of whitespace + -B Ignore changes whose lines are all blank + -d Try hard to find a smaller set of changes + -F Show the most recent line matching the regex + -i Ignore case differences + -L Use LABEL instead of the filename in the unified header + -N Treat absent files as empty + -q Output only whether files differ + -r Recurse + -S Start with FILE when comparing directories + -s Report when two files are the same + -T Make tabs line up by prefixing a tab when necessary + -t Expand tabs to spaces in output + -u Unified diff + -U Output LINES lines of context + -w Ignore all whitespace + + --color Color output --strip-trailing-cr Strip '\r' from input lines + --TYPE-line-format=FORMAT Display TYPE (unchanged/old/new) lines using FORMAT + FORMAT uses printf integer escapes (ala %-2.4x) followed by LETTER: FELMNn + Supported format specifiers are: + * %l, the contents of the line, without the trailing newline + * %L, the contents of the line, including the trailing newline + * %%, the character '%' */ #define FOR_diff |