[lxc-devel] [PATCH] lxc-create: fix the wrong help info of lxc-create

Serge Hallyn serge.hallyn at ubuntu.com
Mon Jun 10 12:09:43 UTC 2013


Quoting Weng Meiling (wengmeiling.weng at huawei.com):
> 
> From: Weng Meiling <wengmeiling.weng at huawei.com>
> 
> Signed-off-by: Weng Meiling <wengmeiling.weng at huawei.com>
> ---
>  src/lxc/lxc_create.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/src/lxc/lxc_create.c b/src/lxc/lxc_create.c
> index c9231ef..41efeaf 100644
> --- a/src/lxc/lxc_create.c
> +++ b/src/lxc/lxc_create.c
> @@ -115,7 +115,8 @@ static struct lxc_arguments my_args = {
>  	.progname = "lxc-create",
>  	.helpfn   = create_helpfn,
>  	.help     = "\
> ---name=NAME [-w] [-r] [-t timeout] [-P lxcpath]\n\
> +--name=NAME [-f config] [-t template] [fs_options]\n\
> +\t[-P lxcpath] [template_options]\n\

Note that the template_options must be pre-fixed by '--'

>  \n\
>  lxc-create creates a container\n\
>  \n\
> -- 1.7.1
> 
> 
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. A cloud service to automate IT design, transition and operations
> 2. Dashboards that offer high-level views of enterprise services
> 3. A single system of record for all IT processes
> http://p.sf.net/sfu/servicenow-d2d-j
> _______________________________________________
> 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