aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2020-12-13 19:04:19 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2020-12-13 19:04:19 +0100
commit11f1a2553e49c9ff2235688a41875ff8751517ce (patch)
tree5f19a07de53cf6d7fac73725be06f68fa6fe4737
parent49142d48bd12c87d52e1316050f5cf4749e64e51 (diff)
downloadbusybox-11f1a2553e49c9ff2235688a41875ff8751517ce.tar.gz
help text tweaks
function old new delta packed_usage 33547 33545 -2 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--archival/ar.c2
-rw-r--r--archival/bzip2.c2
-rw-r--r--coreutils/id.c2
-rw-r--r--coreutils/mkdir.c2
-rw-r--r--coreutils/rmdir.c2
-rw-r--r--coreutils/stat.c2
-rw-r--r--loginutils/passwd.c2
-rw-r--r--miscutils/crond.c2
-rw-r--r--miscutils/mt.c2
-rw-r--r--networking/ifconfig.c2
10 files changed, 10 insertions, 10 deletions
diff --git a/archival/ar.c b/archival/ar.c
index 2839d85d5..af9793f23 100644
--- a/archival/ar.c
+++ b/archival/ar.c
@@ -49,7 +49,7 @@
//kbuild:lib-$(CONFIG_AR) += ar.o
//usage:#define ar_trivial_usage
-//usage: "[-o] [-v] [-p] [-t] [-x] ARCHIVE FILES"
+//usage: "[-optxv] ARCHIVE FILES"
//usage:#define ar_full_usage "\n\n"
//usage: "Extract or list FILES from an ar archive\n"
//usage: "\n -o Preserve original dates"
diff --git a/archival/bzip2.c b/archival/bzip2.c
index d0390a92a..ac5db0880 100644
--- a/archival/bzip2.c
+++ b/archival/bzip2.c
@@ -50,7 +50,7 @@
//kbuild:lib-$(CONFIG_BZIP2) += bzip2.o
//usage:#define bzip2_trivial_usage
-//usage: "[OPTIONS] [FILE]..."
+//usage: "[-cfk" IF_FEATURE_BZIP2_DECOMPRESS("dt") "123456789] [FILE]..."
//usage:#define bzip2_full_usage "\n\n"
//usage: "Compress FILEs (or stdin) with bzip2 algorithm\n"
//usage: "\n -1..9 Compression level"
diff --git a/coreutils/id.c b/coreutils/id.c
index f20cd7d09..78d5f2a50 100644
--- a/coreutils/id.c
+++ b/coreutils/id.c
@@ -33,7 +33,7 @@
/* BB_AUDIT SUSv3 compliant. */
//usage:#define id_trivial_usage
-//usage: "[OPTIONS] [USER]"
+//usage: "[-ugGnr"IF_SELINUX("Z")"] [USER]"
//usage:#define id_full_usage "\n\n"
//usage: "Print information about USER or the current user\n"
//usage: IF_SELINUX(
diff --git a/coreutils/mkdir.c b/coreutils/mkdir.c
index 0ee1d1f72..d5e0f512b 100644
--- a/coreutils/mkdir.c
+++ b/coreutils/mkdir.c
@@ -27,7 +27,7 @@
/* http://www.opengroup.org/onlinepubs/007904975/utilities/mkdir.html */
//usage:#define mkdir_trivial_usage
-//usage: "[OPTIONS] DIRECTORY..."
+//usage: "[-m MODE] [-p] DIRECTORY..."
//usage:#define mkdir_full_usage "\n\n"
//usage: "Create DIRECTORY\n"
//usage: "\n -m MODE Mode"
diff --git a/coreutils/rmdir.c b/coreutils/rmdir.c
index 5092a5dfc..addf41188 100644
--- a/coreutils/rmdir.c
+++ b/coreutils/rmdir.c
@@ -20,7 +20,7 @@
/* http://www.opengroup.org/onlinepubs/007904975/utilities/rmdir.html */
//usage:#define rmdir_trivial_usage
-//usage: "[OPTIONS] DIRECTORY..."
+//usage: "[-p] DIRECTORY..."
//usage:#define rmdir_full_usage "\n\n"
//usage: "Remove DIRECTORY if it is empty\n"
//usage: "\n -p Include parents"
diff --git a/coreutils/stat.c b/coreutils/stat.c
index ee5e03edd..073b2c67b 100644
--- a/coreutils/stat.c
+++ b/coreutils/stat.c
@@ -40,7 +40,7 @@
//kbuild:lib-$(CONFIG_STAT) += stat.o
//usage:#define stat_trivial_usage
-//usage: "[OPTIONS] FILE..."
+//usage: "[-lt"IF_FEATURE_STAT_FILESYSTEM("f")"] "IF_FEATURE_STAT_FORMAT("[-c FMT] ")"FILE..."
//usage:#define stat_full_usage "\n\n"
//usage: "Display file"
//usage: IF_FEATURE_STAT_FILESYSTEM(" (default) or filesystem")
diff --git a/loginutils/passwd.c b/loginutils/passwd.c
index 770acf58a..acc942275 100644
--- a/loginutils/passwd.c
+++ b/loginutils/passwd.c
@@ -28,7 +28,7 @@
//kbuild:lib-$(CONFIG_PASSWD) += passwd.o
//usage:#define passwd_trivial_usage
-//usage: "[OPTIONS] [USER]"
+//usage: "[-a ALG] [-dlu] [USER]"
//usage:#define passwd_full_usage "\n\n"
//usage: "Change USER's password (default: current user)"
//usage: "\n"
diff --git a/miscutils/crond.c b/miscutils/crond.c
index fb3adc180..b74427351 100644
--- a/miscutils/crond.c
+++ b/miscutils/crond.c
@@ -63,7 +63,7 @@
//kbuild:lib-$(CONFIG_CROND) += crond.o
//usage:#define crond_trivial_usage
-//usage: "-fbS -l N " IF_FEATURE_CROND_D("-d N ") "-L LOGFILE -c DIR"
+//usage: "[-fbS] [-l N] " IF_FEATURE_CROND_D("[-d N] ") "[-L LOGFILE] [-c DIR]"
//usage:#define crond_full_usage "\n\n"
//usage: " -f Foreground"
//usage: "\n -b Background (default)"
diff --git a/miscutils/mt.c b/miscutils/mt.c
index dbb8c13ad..1a4214664 100644
--- a/miscutils/mt.c
+++ b/miscutils/mt.c
@@ -15,7 +15,7 @@
//kbuild:lib-$(CONFIG_MT) += mt.o
//usage:#define mt_trivial_usage
-//usage: "[-f device] opcode value"
+//usage: "[-f DEVICE] OPCODE VALUE"
//usage:#define mt_full_usage "\n\n"
//usage: "Control magnetic tape drive operation\n"
//usage: "\n"
diff --git a/networking/ifconfig.c b/networking/ifconfig.c
index c3e448be0..9ee232a66 100644
--- a/networking/ifconfig.c
+++ b/networking/ifconfig.c
@@ -76,7 +76,7 @@
//kbuild:lib-$(CONFIG_IFCONFIG) += ifconfig.o interface.o
//usage:#define ifconfig_trivial_usage
-//usage: IF_FEATURE_IFCONFIG_STATUS("[-a]") " interface [address]"
+//usage: IF_FEATURE_IFCONFIG_STATUS("[-a]") " [IFACE] [ADDRESS]"
//usage:#define ifconfig_full_usage "\n\n"
//usage: "Configure a network interface\n"
//usage: "\n"