On Thu, Jan 30, 2014 at 04:18:50PM +0100, Robert Vogelgesang wrote:
> Change lxc-stop's argument parsing so that it matches what the help option
> and the man page both describe.
> 
> Signed-off-by: Robert Vogelgesang <[email protected]>

Acked-by: Stéphane Graber <[email protected]>

> 
> diff -up lxc-lxc-1.0.0.beta3/src/lxc/lxc_stop.c.fix_noargs 
> lxc-lxc-1.0.0.beta3/src/lxc/lxc_stop.c
> --- lxc-lxc-1.0.0.beta3/src/lxc/lxc_stop.c.fix_noargs 2014-01-27 
> 14:52:20.000000000 +0100
> +++ lxc-lxc-1.0.0.beta3/src/lxc/lxc_stop.c    2014-01-30 15:42:56.772582318 
> +0100
> @@ -54,8 +54,8 @@ static const struct option my_longopts[]
>       {"nowait", no_argument, 0, 'W'},
>       {"timeout", required_argument, 0, 't'},
>       {"kill", no_argument, 0, 'k'},
> -     {"no-kill", no_argument, 0, OPT_NO_KILL},
> -     {"no-lock", no_argument, 0, OPT_NO_LOCK},
> +     {"nokill", no_argument, 0, OPT_NO_KILL},
> +     {"nolock", no_argument, 0, OPT_NO_LOCK},
>       LXC_COMMON_OPTIONS
>  };
>  
> _______________________________________________
> lxc-devel mailing list
> [email protected]
> http://lists.linuxcontainers.org/listinfo/lxc-devel

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

Attachment: signature.asc
Description: Digital signature

_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to