Changeset 051f96b in mainline for uspace/app/usbinfo/main.c
- Timestamp:
- 2011-06-17T20:53:34Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2e833cf7
- Parents:
- e9c02b7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/usbinfo/main.c
re9c02b7 r051f96b 68 68 _OPTION("-S --status", "Get status of the device."); 69 69 _OPTION("-r --hid-report", "Dump HID report descriptor."); 70 _OPTION("-r --hid-report-usages", "Dump usages of HID report."); 70 71 71 72 printf("\n"); … … 86 87 {"status", no_argument, NULL, 'S'}, 87 88 {"hid-report", no_argument, NULL, 'r'}, 89 {"hid-report-usages", no_argument, NULL, 'R'}, 88 90 {0, 0, NULL, 0} 89 91 }; 90 static const char *short_options = "himtTsSr ";92 static const char *short_options = "himtTsSrR"; 91 93 92 94 static usbinfo_action_t actions[] = { … … 123 125 { 124 126 .opt = 'r', 125 .action = dump_hidreport, 127 .action = dump_hidreport_raw, 128 .active = false 129 }, 130 { 131 .opt = 'R', 132 .action = dump_hidreport_usages, 126 133 .active = false 127 134 },
Note:
See TracChangeset
for help on using the changeset viewer.