Generalize --detect-color-scheme to --color-scheme

This commit is contained in:
Tau Gärtli
2024-07-18 17:36:57 +02:00
parent abf9dada04
commit b9b981f657
11 changed files with 140 additions and 69 deletions

View File

@ -279,7 +279,7 @@ fn list_themes_with_colors() {
bat()
.arg("--color=always")
.arg("--detect-color-scheme=never")
.arg("--color-scheme=dark")
.arg("--list-themes")
.assert()
.success()
@ -296,7 +296,7 @@ fn list_themes_without_colors() {
bat()
.arg("--color=never")
.arg("--detect-color-scheme=never")
.arg("--color-scheme=dark")
.arg("--list-themes")
.assert()
.success()