mirror of
https://github.com/uutils/coreutils
synced 2024-12-19 09:33:25 +00:00
c1f67ed775
`sort` supports three ways to specify the sort mode: a long option (e.g. --numeric-sort), a short option (e.g. -n) and the sort flag (e.g. --sort=numeric). This adds support for the sort flag. Additionally, sort modes now conflict, which means that an error is shown when multiple modes are passed, instead of silently picking a mode. For consistency, I added the `random` sort mode to the `SortMode` enum, instead of it being a bool flag. |
||
---|---|---|
.. | ||
bin | ||
uu | ||
uucore | ||
uucore_procs |