dnf-search-installed: re-add color=always
Signed-off-by: Martin Matous <m@matous.dev>
This commit is contained in:
parent
bf67d3d463
commit
8338545343
1 changed files with 1 additions and 2 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue