candump: sort getopt() by order of option in usage

This commit is contained in:
Marc Kleine-Budde
2023-01-03 10:37:15 +01:00
parent 306254b950
commit 92ae2b0e3d
+1 -1
View File
@@ -324,7 +324,7 @@ int main(int argc, char **argv)
progname = basename(argv[0]);
while ((opt = getopt(argc, argv, "t:HciaSs:lDdxLf:n:r:he8T:?")) != -1) {
while ((opt = getopt(argc, argv, "t:HciaSs:lf:Ln:r:Dde8xT:h?")) != -1) {
switch (opt) {
case 't':
timestamp = optarg[0];