Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2021-06-13 02:08:48 +0300
committerDenys Vlasenko <vda.linux@googlemail.com>2021-06-13 02:08:48 +0300
commit6b6826f0b87b13c5e83786f045b90d703507464e (patch)
treedc40238c9843b020fddfa7de83e25892b166dbe4 /coreutils/env.c
parentaece2c5f0fef9088b615016f3177b1abd3a373bb (diff)
*: --help tweaks
function old new delta .rodata 103190 103189 -1 packed_usage 33590 33566 -24 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-25) Total: -25 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/env.c')
-rw-r--r--coreutils/env.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/coreutils/env.c b/coreutils/env.c
index c37c0c2df..4715bf73a 100644
--- a/coreutils/env.c
+++ b/coreutils/env.c
@@ -39,12 +39,14 @@
/* http://www.opengroup.org/onlinepubs/007904975/utilities/env.html */
//usage:#define env_trivial_usage
-//usage: "[-iu] [-] [name=value]... [PROG ARGS]"
+//usage: "[-i] [-u NAME]... [-] [NAME=VALUE]... [PROG ARGS]"
+// The "-" can occur only once (unlike, say, -i): it terminates option processing,
+// so if it is followed by another "-" arg (or any option-looking arg),
+// that arg will be taken as PROG (or even as NAME=VALUE, example: "-z=QWE").
//usage:#define env_full_usage "\n\n"
-//usage: "Print the current environment or run PROG after setting up\n"
-//usage: "the specified environment\n"
-//usage: "\n -, -i Start with an empty environment"
-//usage: "\n -u Remove variable from the environment"
+//usage: "Print current environment or run PROG after setting up environment\n"
+//usage: "\n -, -i Start with empty environment"
+//usage: "\n -u NAME Remove variable from environment"
#include "libbb.h"