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@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to