mirror of
https://github.com/eth-p/bat-extras.git
synced 2026-09-10 07:16:25 -04: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 a new issue