mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00:00
Generalize --detect-color-scheme to --color-scheme
This commit is contained in:
11 files changed
+140
-69
No files matched your search
@@ -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