summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvangelos Foutras <evangelos@foutrelis.com>2013-04-29 13:12:28 +0300
committerDave Reisner <dreisner@archlinux.org>2013-04-29 09:00:27 -0400
commitd7e011e5bfa3361faf52b7b2dbacd11373d7fb86 (patch)
treec7883579dc77e2bd31ece9c9a37dba23023b3266
parente29380ebbe7d14d821a04122660c8449a2c0b300 (diff)
nspawn: add -M option to optstring
This was missed in commit 7027ff61a34a12487712b382a061c654acc3a679 and means that the --machine option would work but not its shorthand, -M.
-rw-r--r--src/nspawn/nspawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index 7b41571034..a49cbc2238 100644
--- 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:bM:j", options, NULL)) >= 0) {
switch (c) {