Skip to content

Commit 8a31ad6

Browse files
authored
Update jloptions.c - error message (#57518)
Update to >= to be consistent with similar error messages and avoid scrambled character in the terminal which don't support this type of characters
1 parent 9f7cdfd commit 8a31ad6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jloptions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ JL_DLLEXPORT void jl_parse_opts(int *argcp, char ***argvp)
656656
nthreadsi = strtol(&endptr[1], &endptri, 10);
657657
// Allow 0 for interactive
658658
if (errno != 0 || endptri == &endptr[1] || *endptri != 0 || nthreadsi < 0 || nthreadsi >= INT16_MAX)
659-
jl_errorf("julia: -t,--threads=<n>,<m>; m must be an integer 0");
659+
jl_errorf("julia: -t,--threads=<n>,<m>; m must be an integer >= 0");
660660
if (nthreadsi == 0)
661661
jl_options.nthreadpools = 1;
662662
}

0 commit comments

Comments
 (0)