summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2016-02-19 12:19:18 +0100
committerDaniel Mack <github@zonque.org>2016-02-19 12:19:18 +0100
commit22b73e9cd79e6a6580e72cd269098e45a7971086 (patch)
treed7263ef0f2bc0a43f962e02e53bfde7eb73685f1
parente4d86881d5cea2d166149c80075f3ad8143c901f (diff)
parentb722348d050aa2754cd9f903e8c3ce810c616b06 (diff)
Merge pull request #2662 from keszybz/activate-setenv
activate: fix -E option parsing
-rw-r--r--src/activate/activate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/activate/activate.c b/src/activate/activate.c
index 23244fdc62..d6e2d07ff2 100644
--- a/src/activate/activate.c
+++ b/src/activate/activate.c
@@ -385,7 +385,7 @@ static int parse_argv(int argc, char *argv[]) {
assert(argc >= 0);
assert(argv);
- while ((c = getopt_long(argc, argv, "+hl:aEd", options, NULL)) >= 0)
+ while ((c = getopt_long(argc, argv, "+hl:aE:d", options, NULL)) >= 0)
switch(c) {
case 'h':
help();