For commands that produce colorful output, such as info, search, and list, colors are currently shown iff stdout is a terminal, which is the behavior of --setopt=color=auto. color=always and color=never are not respected.
The --color=auto|never|always argument to set the color configuration option is missing.
These items are probably low priority; color=auto is desired in the vast majority of cases. But some scripts may invoke dnf --color=never ... and it would be nice to not break them.
Noticed by a participant in the 2023-08-11 test week: https://fedoraproject.org/wiki/Test_Day:2023-08-11_Fedora_39_DNF_5#cite_note-74.
info
,search
, andlist
, colors are currently shown iff stdout is a terminal, which is the behavior of--setopt=color=auto
.color=always
andcolor=never
are not respected.--color=auto|never|always
argument to set thecolor
configuration option is missing.These items are probably low priority;
color=auto
is desired in the vast majority of cases. But some scripts may invokednf --color=never ...
and it would be nice to not break them.