dnf-search-installed: re-add color=always

Signed-off-by: Martin Matous <m@matous.dev>
This commit is contained in:
Martin Matous 2025-05-02 15:54:35 +02:00
parent bf67d3d463
commit 8338545343
Signed by: mmatous
GPG key ID: 8BED4CD352953224

View file

@ -27,8 +27,7 @@ if sys.argv[1] != 'search':
# call CLI to get all the formatting and highlighting for free # call CLI to get all the formatting and highlighting for free
res = subprocess.run( res = subprocess.run(
# todo: add --color=always https://github.com/rpm-software-management/dnf5/issues/839 [DNF, '--color=always', *sys.argv[1:]],
[DNF, *sys.argv[1:]],
capture_output=True, capture_output=True,
encoding='utf-8', encoding='utf-8',
check=False, check=False,