main: --list-all shouldn't list 'uninstalled' packages
parent
573cf8d21c
commit
24bb536305
5
main.c
5
main.c
|
@ -103,7 +103,10 @@ print_fragment(pkg_fragment_t *frag)
|
|||
static void
|
||||
print_list_entry(const pkg_t *entry)
|
||||
{
|
||||
printf("-%30s %s - %s\n", entry->id, entry->realname, entry->description);
|
||||
if (entry->uninstalled)
|
||||
return;
|
||||
|
||||
printf("%-30s %s - %s\n", entry->id, entry->realname, entry->description);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue