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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/18/2013 05:45 PM, Osier Yang wrote:
On 2013年03月18日 17:39, Alex Jia wrote:

Signed-off-by: Alex Jia<ajia@xxxxxxxxxx>
---
  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,

It's a wrong operation, in fact, I haven't changed it, I will fix this. thanks.

            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", },


--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]