projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f05b266
)
systemd-run: really make -E an alias for --setenv (#3654)
author
Michał Bartoszkiewicz
<mbartoszkiewicz@gmail.com>
Tue, 5 Jul 2016 17:23:23 +0000
(19:23 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 5 Jul 2016 17:23:23 +0000
(10:23 -0700)
systemd-run --help says:
-E --setenv=NAME=VALUE Set environment
src/run/run.c
patch
|
blob
|
history
diff --git
a/src/run/run.c
b/src/run/run.c
index
d6c9b6d
..
58fa49a
100644
(file)
--- 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) {