1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-18 19:21:09 +00:00
uutils-coreutils/tests
Abhishek C Sharma 3f6fe7f388
ls: add new optional arguments to --classify flag (#3041)
* ls: add new optional arguments to --classify flag

The --classify flag in ls now takes an option when argument
that may have the values always, auto and none.

Modified clap argument to allow an optional parameter and
changed the classify flag value parsing logic to account for
this change.

* ls: add test for indicator-style, ind and classify with value none

* ls: require option paramter to --classify to use a = to specify flag value

* ls: account for all the undocumented possible values for the --classify flag

Added the other values for the --classify flag along with modifications to tests.
Also documented the inconsistency between GNU coreutils because we accept the
flag value even for the short version of the flag.
2022-02-10 21:35:20 +01:00
..
benches/factor all: change macros 2022-01-29 15:26:32 +01:00
by-util ls: add new optional arguments to --classify flag (#3041) 2022-02-10 21:35:20 +01:00
common use 'Self' and derive 'Default' where possible 2022-01-30 15:08:26 +01:00
fixtures Merge pull request #2902 from jtracey/join-non-unicode-sep 2022-01-31 21:54:56 +01:00
test_util_name.rs tests: silence clippy warnings for unused_imports 2021-10-10 00:52:18 +02:00
tests.rs tests ~ use build.rs build list of test_UTIL module files 2020-06-02 12:17:30 -05:00