aboutsummaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-11-02 11:39:46 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-11-02 11:39:46 +0000
commit8340fd72faedc46029b2a74db8d9a1ef13e2ef8d (patch)
treec84573dea7b7461c7d2174391911075b1470e86e /include/usage.h
parent67336acd8c5953785ed07c02cb5276e5b27edddf (diff)
downloadbusybox-w32-8340fd72faedc46029b2a74db8d9a1ef13e2ef8d.tar.gz
busybox-w32-8340fd72faedc46029b2a74db8d9a1ef13e2ef8d.tar.bz2
busybox-w32-8340fd72faedc46029b2a74db8d9a1ef13e2ef8d.zip
Introduce od and hexdump applets
git-svn-id: svn://busybox.net/trunk/busybox@3625 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h
index 46c11c2a3..12d5e1ed5 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -646,6 +646,23 @@
646 "root:x:0:0:root:/root:/bin/bash\n" \ 646 "root:x:0:0:root:/root:/bin/bash\n" \
647 "daemon:x:1:1:daemon:/usr/sbin:/bin/sh\n" 647 "daemon:x:1:1:daemon:/usr/sbin:/bin/sh\n"
648 648
649#define hexdump_trivial_usage \
650 "[-[bcdefnosvx]] [OPTION] FILE"
651#define hexdump_full_usage \
652 "The hexdump utility is a filter which displays the specified files,\n" \
653 "or the standard input, if no files are specified, in a user specified\n"\
654 "format\n" \
655 "\t-b\t\tOne-byte octal display\n" \
656 "\t-c\t\tOne-byte character display\n" \
657 "\t-d\t\tTwo-byte decimal display\n" \
658 "\t-e FORMAT STRING\n" \
659 "\t-f FORMAT FILE\n" \
660 "\t-n LENGTH\tInterpret only length bytes of input\n" \
661 "\t-o\t\tTwo-byte octal display\n" \
662 "\t-s OFFSET\tSkip offset byte\n" \
663 "\t-v\t\tdisplay all input data\n" \
664 "\t-x\t\tTwo-byte hexadecimal display\n"
665
649#define hostid_trivial_usage \ 666#define hostid_trivial_usage \
650 "" 667 ""
651#define hostid_full_usage \ 668#define hostid_full_usage \
@@ -1249,6 +1266,12 @@
1249 "Name: debian\n" \ 1266 "Name: debian\n" \
1250 "Address: 127.0.0.1\n" 1267 "Address: 127.0.0.1\n"
1251 1268
1269#define od_trivial_usage \
1270 "[-aBbcDdeFfHhIiLlOovXx] [FILE]"
1271#define od_full_usage \
1272 "Write an unambiguous representation, octal bytes by default, of FILE\n"\
1273 "to standard output. With no FILE, or when FILE is -, read standard input."
1274
1252#define pidof_trivial_usage \ 1275#define pidof_trivial_usage \
1253 "process-name [process-name ...]" 1276 "process-name [process-name ...]"
1254#define pidof_full_usage \ 1277#define pidof_full_usage \