diff options
Diffstat (limited to 'coreutils/env.c')
-rw-r--r-- | coreutils/env.c | 12 |
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 @@ | |||
39 | /* http://www.opengroup.org/onlinepubs/007904975/utilities/env.html */ | 39 | /* http://www.opengroup.org/onlinepubs/007904975/utilities/env.html */ |
40 | 40 | ||
41 | //usage:#define env_trivial_usage | 41 | //usage:#define env_trivial_usage |
42 | //usage: "[-iu] [-] [name=value]... [PROG ARGS]" | 42 | //usage: "[-i] [-u NAME]... [-] [NAME=VALUE]... [PROG ARGS]" |
43 | // The "-" can occur only once (unlike, say, -i): it terminates option processing, | ||
44 | // so if it is followed by another "-" arg (or any option-looking arg), | ||
45 | // that arg will be taken as PROG (or even as NAME=VALUE, example: "-z=QWE"). | ||
43 | //usage:#define env_full_usage "\n\n" | 46 | //usage:#define env_full_usage "\n\n" |
44 | //usage: "Print the current environment or run PROG after setting up\n" | 47 | //usage: "Print current environment or run PROG after setting up environment\n" |
45 | //usage: "the specified environment\n" | 48 | //usage: "\n -, -i Start with empty environment" |
46 | //usage: "\n -, -i Start with an empty environment" | 49 | //usage: "\n -u NAME Remove variable from environment" |
47 | //usage: "\n -u Remove variable from the environment" | ||
48 | 50 | ||
49 | #include "libbb.h" | 51 | #include "libbb.h" |
50 | 52 | ||