summaryrefslogtreecommitdiff
path: root/extras/usb_id/usb_id.c
diff options
context:
space:
mode:
Diffstat (limited to 'extras/usb_id/usb_id.c')
-rw-r--r--extras/usb_id/usb_id.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/extras/usb_id/usb_id.c b/extras/usb_id/usb_id.c
index 2154552120..f39496b07c 100644
--- a/extras/usb_id/usb_id.c
+++ b/extras/usb_id/usb_id.c
@@ -359,10 +359,10 @@ int main(int argc, char **argv)
char devpath[MAX_PATH_LEN];
static int export;
static const struct option options[] = {
- { "usb-info", 0, NULL, 'u' },
- { "num-info", 0, NULL, 'n' },
- { "export", 0, NULL, 'x' },
- { "help", 0, NULL, 'h' },
+ { "usb-info", no_argument, NULL, 'u' },
+ { "num-info", no_argument, NULL, 'n' },
+ { "export", no_argument, NULL, 'x' },
+ { "help", no_argument, NULL, 'h' },
{}
};