[Spice-devel] [PATCH 1/3] generator, fix --help option
Peter Hatina
phatina at redhat.com
Tue Jul 10 00:54:04 PDT 2012
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
More information about the Spice-devel
mailing list