Document "dnf list --installed" output colors #2102
Labels
Priority: LOW
RFE
Request For Enhancement (as opposed to a bug)
Triaged
Someone on the DNF 5 team has read the issue and determined the next steps to take
Hello.
When I use

dnf list --installed *kernel*
, I get the following:However, I cannot know what the colors of the output mean when there are multiple versions of the same package.
When I use
dnf list --installed
, almost all packages are bright green color.Those of the kernel (used as example) are bright green, blue and white.
https://dnf.readthedocs.io/en/latest/command_ref.html#list-command
https://dnf5.readthedocs.io/en/latest/commands/list.8.html#list-command
I checked the above pages and didn't find an answer.
I would like to know what they mean, and I also want to make a suggestion to clear confusion for future users.
You could do it like so:
In the first line that says "Installed packages", acting as a title, you could put the meanings with colors in brackets.
Example:
Installed packages (MeaningOne, MeaningTwo, MeaningThree)
Where MeaningOne is colored with the appropriate color and says what it is. For example, "MeaningOne" can mean "Installed" with bright green color and "MeaningTwo" can mean "outdated package installed" with normal white color.
I believe this is a very simple addition to clear possible confusions for users.
Thanks.
The text was updated successfully, but these errors were encountered: