aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2015-09-15 14:27:02 -0400
committerMike Frysinger <vapier@gentoo.org>2015-09-15 14:27:02 -0400
commite275dfedc41cecf51d96484eb34505d12dca5678 (patch)
treec2fb07d56f36b39abf72c7dfa7d6d252d883bac5 /qatom.c
parentrepos.conf: fix behavior on systems w/out d_type (diff)
downloadportage-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/qatom.c b/qatom.c
index 25eee8ec..f2c7ae4d 100644
--- a/qatom.c
+++ b/qatom.c
@@ -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)