mirror of
https://github.com/eth-p/bat-extras.git
synced 2024-12-12 17:20:40 +01:00
Fix regression where --color
would no longer work by itself
This commit is contained in:
parent
1be18569c9
commit
47c15dd264
@ -24,6 +24,7 @@ hook_color() {
|
||||
--no-color) OPT_COLOR=false ;;
|
||||
--color) {
|
||||
case "$OPT_VAL" in
|
||||
"") OPT_COLOR=true ;;
|
||||
always | true) OPT_COLOR=true ;;
|
||||
never | false) OPT_COLOR=false ;;
|
||||
auto) return 0 ;;
|
||||
|
Loading…
Reference in New Issue
Block a user