1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-09-15 03:26:18 +00:00

Merge pull request #6150 from BenWiederhake/dev-dircolors-repeated

dircolors: accept repeated flags
This commit is contained in:
Sylvestre Ledru 2024-03-31 12:08:55 +02:00 committed by GitHub
commit b869c67d6a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View file

@ -246,3 +246,10 @@ fn test_dircolors_for_dir_as_file() {
"dircolors: expected file, got directory '/'",
);
}
#[test]
fn test_repeated() {
for arg in ["-b", "-c", "--print-database", "--print-ls-colors"] {
new_ucmd!().arg(arg).arg(arg).succeeds().no_stderr();
}
}