You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sort: an invalid --parallel value is reported by clap, not as GNU does #15183
$ sort --parallel=0 ferror: invalid value '0' for '--parallel <NUM_THREADS>': 0 is not in 1..18446744073709551615
$ sort --parallel=x ferror: invalid value 'x' for '--parallel <NUM_THREADS>': invalid digit found in string
$ sort --parallel=1x ferror: invalid value '1x' for '--parallel <NUM_THREADS>': invalid digit found in string
GNU 9.12 says sort: number in parallel must be nonzero, sort: invalid --parallel argument 'x' (also for -1 and an empty value) and sort: invalid suffix in --parallel argument '1x', with exit status 2, and accepts a leading + (--parallel=+2). uutils main at a5bc606. Part of what sort/sort.pl in #14705 checks.
Activity