Changeset 9e279c4 in mainline for uspace/app/usbinfo/main.c
- Timestamp:
- 2012-07-20T15:25:32Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8d355aa8
- Parents:
- 3795f9c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/usbinfo/main.c
r3795f9c r9e279c4 62 62 63 63 _OPTION("-h --help", "Print this help and exit."); 64 _OPTION("-l --list", "Print a list of host controllers and devices."); 64 65 _OPTION("-i --identification", "Brief device identification."); 65 66 _OPTION("-m --match-ids", "Print match ids generated for the device."); … … 82 83 {"help", no_argument, NULL, 'h'}, 83 84 {"identification", no_argument, NULL, 'i'}, 85 {"list", no_argument, NULL, 'l'}, 84 86 {"match-ids", no_argument, NULL, 'm'}, 85 87 {"descriptor-tree", no_argument, NULL, 't'}, … … 91 93 {0, 0, NULL, 0} 92 94 }; 93 static const char *short_options = "hi mtTsSrR";95 static const char *short_options = "hilmtTsSrR"; 94 96 95 97 static usbinfo_action_t actions[] = { … … 157 159 case -1: 158 160 break; 161 case 'l': 162 list(); 163 return 0; 159 164 case '?': 160 165 print_usage(argv[0]);
Note:
See TracChangeset
for help on using the changeset viewer.