chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e29380e
)
nspawn: add -M option to optstring
author
Evangelos Foutras
<evangelos@foutrelis.com>
Mon, 29 Apr 2013 10:12:28 +0000
(13:12 +0300)
committer
Dave Reisner
<dreisner@archlinux.org>
Mon, 29 Apr 2013 13:00:27 +0000
(09:00 -0400)
This was missed in commit
7027ff61a34a12487712b382a061c654acc3a679
and
means that the --machine option would work but not its shorthand, -M.
src/nspawn/nspawn.c
patch
|
blob
|
history
diff --git
a/src/nspawn/nspawn.c
b/src/nspawn/nspawn.c
index 7b415710345eafc4501d3dcf3ad82d8851ea3786..a49cbc2238cf142de9adcd6b0929407794e2a3bb 100644
(file)
--- a/
src/nspawn/nspawn.c
+++ b/
src/nspawn/nspawn.c
@@
-173,7
+173,7
@@
static int parse_argv(int argc, char *argv[]) {
assert(argc >= 0);
assert(argv);
- while ((c = getopt_long(argc, argv, "+hD:u:C:bj", options, NULL)) >= 0) {
+ while ((c = getopt_long(argc, argv, "+hD:u:C:b
M:
j", options, NULL)) >= 0) {
switch (c) {