summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaƂ Bartoszkiewicz <mbartoszkiewicz@gmail.com>2016-07-05 19:23:23 +0200
committerLennart Poettering <lennart@poettering.net>2016-07-05 10:23:23 -0700
commita17402291b627e330c44d1461c105de3277f4d88 (patch)
treeaea0eb11e772c26d8de58b709a895def64d910a0
parentf05b26634644cb17a0c76fb9c7a018e9d6feaf2f (diff)
systemd-run: really make -E an alias for --setenv (#3654)
systemd-run --help says: -E --setenv=NAME=VALUE Set environment
-rw-r--r--src/run/run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/run/run.c b/src/run/run.c
index d6c9b6d37a..58fa49a4d1 100644
--- a/src/run/run.c
+++ b/src/run/run.c
@@ -187,7 +187,7 @@ static int parse_argv(int argc, char *argv[]) {
assert(argc >= 0);
assert(argv);
- while ((c = getopt_long(argc, argv, "+hrH:M:p:tq", options, NULL)) >= 0)
+ while ((c = getopt_long(argc, argv, "+hrH:M:E:p:tq", options, NULL)) >= 0)
switch (c) {