summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolai Kondrashov <spbnick@gmail.com>2010-08-24 19:59:24 +0400
committerNikolai Kondrashov <spbnick@gmail.com>2010-08-24 19:59:24 +0400
commit861d051469304a332ca7d6de77cc6ac8a3123470 (patch)
tree4bb6f9a0d64d5fcab107e81ffe6fa216f326654a
parent39b4c330d6d3453dda80b9f11554565acdd785ca (diff)
downloadusbhid-dump-861d051469304a332ca7d6de77cc6ac8a3123470.tar.gz
Fixed --version option
Fixed --version option, only -v worked before.
-rw-r--r--src/usbhid-dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usbhid-dump.c b/src/usbhid-dump.c
index 1e64193..2b8a71e 100644
--- a/src/usbhid-dump.c
+++ b/src/usbhid-dump.c
@@ -571,7 +571,7 @@ main(int argc, char **argv)
.has_arg = no_argument,
.flag = NULL},
{.val = OPT_VAL_VERSION,
- .name = "help",
+ .name = "version",
.has_arg = no_argument,
.flag = NULL},
{.val = OPT_VAL_ENTITY,