summaryrefslogtreecommitdiff
path: root/usbredirserver/usbredirserver.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2011-07-15 13:25:05 +0200
committerHans de Goede <hdegoede@redhat.com>2011-07-15 13:25:05 +0200
commit693927fbe07cb8cceab523c48c7f4d151da6a57f (patch)
tree1e4f62910b778978ad7d308b0eab5809b49d388c /usbredirserver/usbredirserver.c
parentee954d28286408262c6762a22e5e0871e8baa00b (diff)
usbredirserver: fix -v not working
Diffstat (limited to 'usbredirserver/usbredirserver.c')
-rw-r--r--usbredirserver/usbredirserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usbredirserver/usbredirserver.c b/usbredirserver/usbredirserver.c
index 1a550f7..d925e93 100644
--- a/usbredirserver/usbredirserver.c
+++ b/usbredirserver/usbredirserver.c
@@ -194,7 +194,7 @@ int main(int argc, char *argv[])
char port_str[16];
libusb_device_handle *handle = NULL;
- while ((o = getopt_long(argc, argv, "hp:", longopts, NULL)) != -1) {
+ while ((o = getopt_long(argc, argv, "hp:v:", longopts, NULL)) != -1) {
switch (o) {
case 'p':
port = strtol(optarg, &endptr, 10);