diff options
author | Peter Hatina <phatina@redhat.com> | 2012-07-10 13:22:50 +0200 |
---|---|---|
committer | Peter Hatina <phatina@redhat.com> | 2012-07-10 13:22:50 +0200 |
commit | 9ea57d02e5d17446d8f5e8813d9d6af7956351fb (patch) | |
tree | 6e49ae38e323833746547c178ad3b7cd2ee17bce | |
parent | e79218c2fec717996ceecc1ba9206f94586e6767 (diff) |
generator, fix --help option
-rw-r--r-- | generator/options.cpp | 2 |
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 } }; |