diff --git a/libdnf5-cli/output/search.cpp b/libdnf5-cli/output/search.cpp index 51a99f65d..82ad50feb 100644 --- a/libdnf5-cli/output/search.cpp +++ b/libdnf5-cli/output/search.cpp @@ -96,7 +96,11 @@ void print_search_results(const SearchResults & results) { } else { std::cout << highlight(package.get_name()) << "." << package.get_arch(); } - std::cout << ": " << highlight(package.get_summary()) << std::endl; + std::cout << ": " << highlight(package.get_summary()); + if (package.is_installed()) { + std::cout << " [installed]"; + } + std::cout << std::endl; } } }