[libvirt] [libvirt-sandbox][PATCH] Docs: fix a typo in help documents

Osier Yang jyang at redhat.com
Mon Mar 18 09:45:48 UTC 2013


On 2013年03月18日 17:39, Alex Jia wrote:
>
> Signed-off-by: Alex Jia<ajia at redhat.com>
> ---
>   bin/virt-sandbox.c |    4 ++--
>   1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/bin/virt-sandbox.c b/bin/virt-sandbox.c
> index bd7ac49..654a205 100644
> --- a/bin/virt-sandbox.c
> +++ b/bin/virt-sandbox.c
> @@ -87,10 +87,10 @@ int main(int argc, char **argv) {
>           { "name", 'n', 0, G_OPTION_ARG_STRING,&name,
>             N_("name of the sandbox"), "NAME" },
>           { "mount", 'm', 0, G_OPTION_ARG_STRING_ARRAY,&mounts,
> -          N_("mount a filesystem int he guest"), "TYPE:TARGET=SOURCE" },
> +          N_("mount a filesystem in the guest"), "TYPE:TARGET=SOURCE" },
>           { "include", 'i', 0, G_OPTION_ARG_STRING_ARRAY,&includes,
>             N_("file to copy into custom dir"), "GUEST-PATH=HOST-PATH", },
> -        { "includefile", 'I', 0, G_OPTION_ARG_STRING,&includefile,
> +        { "interfile", 'I', 0, G_OPTION_ARG_STRING,&includefile,
>             N_("file contain list of files to include"), "FILE" },

Didn't check the source, but if it's the right fix, you should also
change the variable name (includefile) to be consistent. And also the
help message.

>           { "network", 'N', 0, G_OPTION_ARG_STRING_ARRAY,&networks,
>             N_("setup network interface properties"), "PATH", },




More information about the libvir-list mailing list