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

pull/394/head
Marc Kleine-Budde 2022-04-22 17:10:01 +02:00
parent 306254b950
commit 92ae2b0e3d
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ int main(int argc, char **argv)
progname = basename(argv[0]); 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) { switch (opt) {
case 't': case 't':
timestamp = optarg[0]; timestamp = optarg[0];