Make CLI and OPT options -p and -Q more consistent (#1834)

This commit is contained in:
Rangi
2025-09-20 13:54:28 -04:00
committed by GitHub
parent d8aff148bb
commit c49a7d1e2f
6 changed files with 48 additions and 60 deletions

View File

@@ -402,7 +402,7 @@ int main(int argc, char *argv[]) {
char *endptr;
unsigned long precision = strtoul(precisionArg, &endptr, 0);
if (musl_optarg[0] == '\0' || *endptr != '\0') {
if (precisionArg[0] == '\0' || *endptr != '\0') {
fatal("Invalid argument for option '-Q'");
}