mirror of
https://github.com/sharkdp/bat.git
synced 2025-08-16 11:09:13 +02:00
Generalize --detect-color-scheme to --color-scheme
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user