[PATCH 1/3] generator, fix --help option

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

 



Hi,

I fixed copy+paste typo with help option.

Peter Hatina
EMEA ENG-Desktop Development
Red Hat Czech, Brno

---
 generator/options.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generator/options.cpp b/generator/options.cpp
index 86ea867..723ca7e 100644
--- a/generator/options.cpp
+++ b/generator/options.cpp
@@ -30,7 +30,7 @@ Options::Options(int argc, char **argv):
     static struct option longopts[] = {
         { "input",  required_argument, NULL, 'i' },
         { "output", required_argument, NULL, 'o' },
-        { "help",   required_argument, NULL, 'h' },
+        { "help",   no_argument,       NULL, 'h' },
         { NULL,     0,                 NULL,  0  }
     };
 
-- 
1.7.10.4

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]