canfdtest: main(): sort switch/case in cmd line parser alphabetically

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
Marc Kleine-Budde
2021-05-04 12:00:39 +02:00
parent 4b94546cf9
commit fd6829eb4f
+8 -7
View File
@@ -376,21 +376,22 @@ int main(int argc, char *argv[])
while ((opt = getopt(argc, argv, "f:gl:v?")) != -1) {
switch (opt) {
case 'v':
verbose++;
break;
case 'f':
inflight_count = atoi(optarg);
break;
case 'l':
test_loops = atoi(optarg);
break;
case 'g':
echo_gen = 1;
break;
case 'l':
test_loops = atoi(optarg);
break;
case 'v':
verbose++;
break;
case '?':
default:
print_usage(basename(argv[0]));