summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hatina <phatina@redhat.com>2012-07-10 13:22:50 +0200
committerPeter Hatina <phatina@redhat.com>2012-07-10 13:22:50 +0200
commit9ea57d02e5d17446d8f5e8813d9d6af7956351fb (patch)
tree6e49ae38e323833746547c178ad3b7cd2ee17bce
parente79218c2fec717996ceecc1ba9206f94586e6767 (diff)
generator, fix --help option
-rw-r--r--generator/options.cpp2
1 files changed, 1 insertions, 1 deletions
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 }
};