Changeset d37d1b77 in mainline for uspace/app/usbinfo/main.c
- Timestamp:
- 2011-06-17T17:41:36Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8d12065
- Parents:
- 9f7276d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/usbinfo/main.c
r9f7276d rd37d1b77 65 65 _OPTION("-s --strings", "Try to print all string descriptors."); 66 66 _OPTION("-S --status", "Get status of the device."); 67 _OPTION("-r --hid-report", "Dump HID report descriptor."); 67 68 68 69 printf("\n"); … … 82 83 {"strings", no_argument, NULL, 's'}, 83 84 {"status", no_argument, NULL, 'S'}, 85 {"hid-report", no_argument, NULL, 'r'}, 84 86 {0, 0, NULL, 0} 85 87 }; 86 static const char *short_options = "himtTsS ";88 static const char *short_options = "himtTsSr"; 87 89 88 90 static usbinfo_action_t actions[] = { … … 115 117 .opt = 'S', 116 118 .action = dump_status, 119 .active = false 120 }, 121 { 122 .opt = 'r', 123 .action = dump_hidreport, 117 124 .active = false 118 125 },
Note:
See TracChangeset
for help on using the changeset viewer.