diff options
author | Jeroen Roovers <jer@gentoo.org> | 2015-09-15 14:27:02 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-09-15 14:27:02 -0400 |
commit | e275dfedc41cecf51d96484eb34505d12dca5678 (patch) | |
tree | c2fb07d56f36b39abf72c7dfa7d6d252d883bac5 /qatom.c | |
parent | repos.conf: fix behavior on systems w/out d_type (diff) | |
download | portage-utils-e275dfedc41cecf51d96484eb34505d12dca5678.tar.gz portage-utils-e275dfedc41cecf51d96484eb34505d12dca5678.tar.bz2 portage-utils-e275dfedc41cecf51d96484eb34505d12dca5678.zip |
qatom: always display SLOT in verbose mode
URL: https://bugs.gentoo.org/560320
Diffstat (limited to 'qatom.c')
-rw-r--r-- | qatom.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -56,8 +56,8 @@ int qatom_main(int argc, char **argv) printf("%s %s %s", atom->CATEGORY, atom->PN, atom->PV); if (verbose || atom->PR_int) printf(" r%i", atom->PR_int); - if (atom->SLOT) - printf(" :%s", atom->SLOT); + if (verbose || atom->SLOT) + printf(" :%s", atom->SLOT ? atom->SLOT : "-"); if (verbose || atom->pfx_op != ATOM_OP_NONE) printf(" %s", atom->pfx_op == ATOM_OP_NONE ? "-" : atom_op_str[atom->pfx_op]); if (verbose || atom->sfx_op != ATOM_OP_NONE) |