[lxc-devel] man page of lxc-create -t option

Serge Hallyn serge.hallyn at ubuntu.com
Wed Nov 26 15:14:40 UTC 2014


Quoting KATOH Yasufumi (karma at jazz.email.ne.jp):
> Hi,
> 
> At commit b8683fe, the '-t' option of lxc-create(1) man page was
> changed "opt" to "reg". "reg" is valid? or is it "req"?
> 
> If it is "req", the following patch fix it. If "reg" is valid, I will
> resend the patch that change only Japanese man.
> 
> ----
> From 4c0e0234c160cf8af4e689a15a8224c815881a3c Mon Sep 17 00:00:00 2001
> From: KATOH Yasufumi <karma at jazz.email.ne.jp>
> Date: Wed, 26 Nov 2014 16:03:07 +0900
> Subject: [PATCH] doc: change "-t" option of lxc-create(1) to being required
> 
> * fix "reg" to "req" in English (fix for commit b8683fe)
> * change "opt" to "req" in Japanese
> 
> Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>

I'm no expert here, but your patch looks correct

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

> ---
>  doc/ja/lxc-create.sgml.in | 2 +-
>  doc/lxc-create.sgml.in    | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/doc/ja/lxc-create.sgml.in b/doc/ja/lxc-create.sgml.in
> index 2848845..4525817 100644
> --- a/doc/ja/lxc-create.sgml.in
> +++ b/doc/ja/lxc-create.sgml.in
> @@ -57,7 +57,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
>        <command>lxc-create</command>
>        <arg choice="req">-n <replaceable>name</replaceable></arg>
>        <arg choice="opt">-f <replaceable>config_file</replaceable></arg>
> -      <arg choice="opt">-t <replaceable>template</replaceable></arg>
> +      <arg choice="req">-t <replaceable>template</replaceable></arg>
>        <arg choice="opt">-B <replaceable>backingstore</replaceable></arg>
>        <arg choice="opt">-- <replaceable>template-options</replaceable></arg>
>      </cmdsynopsis>
> diff --git a/doc/lxc-create.sgml.in b/doc/lxc-create.sgml.in
> index da32bb7..683067b 100644
> --- a/doc/lxc-create.sgml.in
> +++ b/doc/lxc-create.sgml.in
> @@ -51,7 +51,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
>        <command>lxc-create</command>
>        <arg choice="req">-n <replaceable>name</replaceable></arg>
>        <arg choice="opt">-f <replaceable>config_file</replaceable></arg>
> -      <arg choice="reg">-t <replaceable>template</replaceable></arg>
> +      <arg choice="req">-t <replaceable>template</replaceable></arg>
>        <arg choice="opt">-B <replaceable>backingstore</replaceable></arg>
>        <arg choice="opt">-- <replaceable>template-options</replaceable></arg>
>      </cmdsynopsis>
> -- 
> 2.1.1
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel


More information about the lxc-devel mailing list