diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2020-12-13 19:18:28 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-12-13 19:18:28 +0100 |
commit | 5d553bc5580455cfb89705caf5d3a6ab327880bc (patch) | |
tree | 6c9e7f818d5165f509e7b731202d7723ef55e25f | |
parent | 11f1a2553e49c9ff2235688a41875ff8751517ce (diff) | |
download | busybox-w32-5d553bc5580455cfb89705caf5d3a6ab327880bc.tar.gz busybox-w32-5d553bc5580455cfb89705caf5d3a6ab327880bc.tar.bz2 busybox-w32-5d553bc5580455cfb89705caf5d3a6ab327880bc.zip |
more --help text tweaks
function old new delta
packed_usage 33545 33581 +36
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | miscutils/adjtimex.c | 2 | ||||
-rw-r--r-- | networking/hostname.c | 4 | ||||
-rw-r--r-- | util-linux/hexdump.c | 2 | ||||
-rw-r--r-- | util-linux/hexdump_xxd.c | 3 |
4 files changed, 5 insertions, 6 deletions
diff --git a/miscutils/adjtimex.c b/miscutils/adjtimex.c index a9de0f9aa..209d1d560 100644 --- a/miscutils/adjtimex.c +++ b/miscutils/adjtimex.c | |||
@@ -22,7 +22,7 @@ | |||
22 | //kbuild:lib-$(CONFIG_ADJTIMEX) += adjtimex.o | 22 | //kbuild:lib-$(CONFIG_ADJTIMEX) += adjtimex.o |
23 | 23 | ||
24 | //usage:#define adjtimex_trivial_usage | 24 | //usage:#define adjtimex_trivial_usage |
25 | //usage: "[-q] [-o OFF] [-f FREQ] [-p TCONST] [-t TICK]" | 25 | //usage: "[-q] [-o OFS] [-f FREQ] [-p TCONST] [-t TICK]" |
26 | //usage:#define adjtimex_full_usage "\n\n" | 26 | //usage:#define adjtimex_full_usage "\n\n" |
27 | //usage: "Read or set kernel time variables. See adjtimex(2)\n" | 27 | //usage: "Read or set kernel time variables. See adjtimex(2)\n" |
28 | //usage: "\n -q Quiet" | 28 | //usage: "\n -q Quiet" |
diff --git a/networking/hostname.c b/networking/hostname.c index f96daed95..549103485 100644 --- a/networking/hostname.c +++ b/networking/hostname.c | |||
@@ -29,9 +29,9 @@ | |||
29 | //kbuild: lib-$(CONFIG_DNSDOMAINNAME) += hostname.o | 29 | //kbuild: lib-$(CONFIG_DNSDOMAINNAME) += hostname.o |
30 | 30 | ||
31 | //usage:#define hostname_trivial_usage | 31 | //usage:#define hostname_trivial_usage |
32 | //usage: "[OPTIONS] [HOSTNAME | -F FILE]" | 32 | //usage: "[-sidf] [HOSTNAME | -F FILE]" |
33 | //usage:#define hostname_full_usage "\n\n" | 33 | //usage:#define hostname_full_usage "\n\n" |
34 | //usage: "Get or set hostname or DNS domain name\n" | 34 | //usage: "Show or set hostname or DNS domain name\n" |
35 | //usage: "\n -s Short" | 35 | //usage: "\n -s Short" |
36 | //usage: "\n -i Addresses for the hostname" | 36 | //usage: "\n -i Addresses for the hostname" |
37 | //usage: "\n -d DNS domain name" | 37 | //usage: "\n -d DNS domain name" |
diff --git a/util-linux/hexdump.c b/util-linux/hexdump.c index 2174c3008..57e7e8db7 100644 --- a/util-linux/hexdump.c +++ b/util-linux/hexdump.c | |||
@@ -28,7 +28,7 @@ | |||
28 | //kbuild:lib-$(CONFIG_HD) += hexdump.o | 28 | //kbuild:lib-$(CONFIG_HD) += hexdump.o |
29 | 29 | ||
30 | //usage:#define hexdump_trivial_usage | 30 | //usage:#define hexdump_trivial_usage |
31 | //usage: "[-bcCdefnosvx] [FILE]..." | 31 | //usage: "[-bcdoxCv] [-e FMT] [-f FMT_FILE] [-n LEN] [-s OFS] [FILE]..." |
32 | //usage:#define hexdump_full_usage "\n\n" | 32 | //usage:#define hexdump_full_usage "\n\n" |
33 | //usage: "Display FILEs (or stdin) in a user specified format\n" | 33 | //usage: "Display FILEs (or stdin) in a user specified format\n" |
34 | //usage: "\n -b 1-byte octal display" | 34 | //usage: "\n -b 1-byte octal display" |
diff --git a/util-linux/hexdump_xxd.c b/util-linux/hexdump_xxd.c index d2f4b6ed8..29bbc6633 100644 --- a/util-linux/hexdump_xxd.c +++ b/util-linux/hexdump_xxd.c | |||
@@ -41,7 +41,7 @@ | |||
41 | // -u use upper case hex letters. | 41 | // -u use upper case hex letters. |
42 | 42 | ||
43 | //usage:#define xxd_trivial_usage | 43 | //usage:#define xxd_trivial_usage |
44 | //usage: "[OPTIONS] [FILE]" | 44 | //usage: "[-pr] [-g N] [-c N] [-n LEN] [-s OFS] [FILE]" |
45 | //usage:#define xxd_full_usage "\n\n" | 45 | //usage:#define xxd_full_usage "\n\n" |
46 | //usage: "Hex dump FILE (or stdin)\n" | 46 | //usage: "Hex dump FILE (or stdin)\n" |
47 | //usage: "\n -g N Bytes per group" | 47 | //usage: "\n -g N Bytes per group" |
@@ -51,7 +51,6 @@ | |||
51 | //usage: "\n -l LENGTH Show only first LENGTH bytes" | 51 | //usage: "\n -l LENGTH Show only first LENGTH bytes" |
52 | //usage: "\n -s OFFSET Skip OFFSET bytes" | 52 | //usage: "\n -s OFFSET Skip OFFSET bytes" |
53 | //usage: "\n -r Reverse (with -p, assumes no offsets in input)" | 53 | //usage: "\n -r Reverse (with -p, assumes no offsets in input)" |
54 | // TODO: implement -r (see hexdump -R) | ||
55 | 54 | ||
56 | #include "libbb.h" | 55 | #include "libbb.h" |
57 | #include "dump.h" | 56 | #include "dump.h" |