aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2020-12-13 19:18:28 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2020-12-13 19:18:28 +0100
commit5d553bc5580455cfb89705caf5d3a6ab327880bc (patch)
tree6c9e7f818d5165f509e7b731202d7723ef55e25f /util-linux
parent11f1a2553e49c9ff2235688a41875ff8751517ce (diff)
downloadbusybox-5d553bc5580455cfb89705caf5d3a6ab327880bc.tar.gz
more --help text tweaks
function old new delta packed_usage 33545 33581 +36 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/hexdump.c2
-rw-r--r--util-linux/hexdump_xxd.c3
2 files changed, 2 insertions, 3 deletions
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 @@
//kbuild:lib-$(CONFIG_HD) += hexdump.o
//usage:#define hexdump_trivial_usage
-//usage: "[-bcCdefnosvx] [FILE]..."
+//usage: "[-bcdoxCv] [-e FMT] [-f FMT_FILE] [-n LEN] [-s OFS] [FILE]..."
//usage:#define hexdump_full_usage "\n\n"
//usage: "Display FILEs (or stdin) in a user specified format\n"
//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 @@
// -u use upper case hex letters.
//usage:#define xxd_trivial_usage
-//usage: "[OPTIONS] [FILE]"
+//usage: "[-pr] [-g N] [-c N] [-n LEN] [-s OFS] [FILE]"
//usage:#define xxd_full_usage "\n\n"
//usage: "Hex dump FILE (or stdin)\n"
//usage: "\n -g N Bytes per group"
@@ -51,7 +51,6 @@
//usage: "\n -l LENGTH Show only first LENGTH bytes"
//usage: "\n -s OFFSET Skip OFFSET bytes"
//usage: "\n -r Reverse (with -p, assumes no offsets in input)"
-// TODO: implement -r (see hexdump -R)
#include "libbb.h"
#include "dump.h"