diff options
Diffstat (limited to 'coreutils/env.c')
-rw-r--r-- | coreutils/env.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/coreutils/env.c b/coreutils/env.c index 807ef13e9..cdfc30e14 100644 --- a/coreutils/env.c +++ b/coreutils/env.c | |||
@@ -54,11 +54,10 @@ int env_main(int argc UNUSED_PARAM, char **argv) | |||
54 | unsigned opts; | 54 | unsigned opts; |
55 | llist_t *unset_env = NULL; | 55 | llist_t *unset_env = NULL; |
56 | 56 | ||
57 | opt_complementary = "u::"; | ||
58 | #if ENABLE_FEATURE_ENV_LONG_OPTIONS | 57 | #if ENABLE_FEATURE_ENV_LONG_OPTIONS |
59 | applet_long_options = env_longopts; | 58 | applet_long_options = env_longopts; |
60 | #endif | 59 | #endif |
61 | opts = getopt32(argv, "+iu:", &unset_env); | 60 | opts = getopt32(argv, "+iu:+", &unset_env); |
62 | argv += optind; | 61 | argv += optind; |
63 | if (argv[0] && LONE_DASH(argv[0])) { | 62 | if (argv[0] && LONE_DASH(argv[0])) { |
64 | opts |= 1; | 63 | opts |= 1; |