[lxc-devel] [PATCH] fix lxc-attach usage

Serge Hallyn serge.hallyn at ubuntu.com
Tue Apr 16 02:37:56 UTC 2013


Quoting Dwight Engen (dwight.engen at oracle.com):
> This makes it match the manpage and be consistent with lxc-execute
> 
> Signed-off-by: Dwight Engen <dwight.engen at oracle.com>

Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>

> ---
>  src/lxc/lxc_attach.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/lxc/lxc_attach.c b/src/lxc/lxc_attach.c
> index 77039fb..e5619df 100644
> --- a/src/lxc/lxc_attach.c
> +++ b/src/lxc/lxc_attach.c
> @@ -103,9 +103,9 @@ static int my_parser(struct lxc_arguments* args, int c, char* arg)
>  static struct lxc_arguments my_args = {
>  	.progname = "lxc-attach",
>  	.help     = "\
> ---name=NAME\n\
> +--name=NAME [-- COMMAND]\n\
>  \n\
> -Execute the specified command - enter the container NAME\n\
> +Execute the specified COMMAND - enter the container NAME\n\
>  \n\
>  Options :\n\
>    -n, --name=NAME   NAME for name of the container\n\
> -- 
> 1.7.12.3
> 
> 
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Lxc-devel mailing list
> Lxc-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-devel




More information about the lxc-devel mailing list