fix(cmd): ensure cmd_time stops iterating after matching option
All checks were successful
CI Code / Check spelling (pull_request) Successful in 22s
CI Code / Check coding style (pull_request) Successful in 37s
CI Code / Linux (arch) (pull_request) Successful in 9m53s
CI Code / Linux (ubuntu) (pull_request) Successful in 14m0s
CI Code / Linux (debian) (pull_request) Successful in 16m24s

This commit is contained in:
2025-11-26 18:29:47 +03:00
parent 84d6253561
commit 95aef7aa47
2 changed files with 3 additions and 0 deletions

1
external/stabber vendored Submodule

Submodule external/stabber added at 3e5c220071

View File

@@ -5356,6 +5356,8 @@ cmd_time(ProfWin* window, const char* const command, gchar** args)
cons_bad_cmd_usage(command);
return TRUE;
}
if (!set_all)
break;
}
if (!set_all && n == ARRAY_SIZE(time_prefs)) {
cons_bad_cmd_usage(command);