[systemd-devel] [PATCH] nspawn: add -M option to optstring

Dave Reisner d at falconindy.com
Mon Apr 29 06:21:37 PDT 2013


On Mon, Apr 29, 2013 at 01:12:28PM +0300, Evangelos Foutras wrote:
> This was missed in commit 7027ff61a34a12487712b382a061c654acc3a679 and
> means that the --machine option would work but not its shorthand, -M.
> ---

Thanks, applied.

>  src/nspawn/nspawn.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
> index 7b41571..a49cbc2 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) {
>  
> -- 
> 1.8.2.2
> 
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel


More information about the systemd-devel mailing list