Changeset 850fd32 in mainline for uspace/app/usbinfo/main.c
- Timestamp:
- 2018-03-11T01:21:19Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 84239b1, f0e825d
- Parents:
- 338d54a7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/usbinfo/main.c
r338d54a7 r850fd32 153 153 */ 154 154 int opt; 155 int idx; 155 156 do { 156 157 opt = getopt_long(argc, argv, … … 168 169 print_usage(argv[0]); 169 170 return 0; 170 default: {171 i nt idx = 0;171 default: 172 idx = 0; 172 173 while (actions[idx].opt != 0) { 173 174 if (actions[idx].opt == opt) { … … 179 180 } 180 181 break; 181 }182 182 } 183 183 } while (opt > 0);
Note:
See TracChangeset
for help on using the changeset viewer.