commit: 4f3a79cc3e9399a723dc0a08c4122ed12e2f1001 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Fri May 20 17:02:14 2022 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Fri May 20 17:02:14 2022 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=4f3a79cc
qlist: print BUILD_ID for binpkgs (if any) Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> qlist.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/qlist.c b/qlist.c index 318ae3d..3d09af1 100644 --- a/qlist.c +++ b/qlist.c @@ -1,5 +1,5 @@ /* - * Copyright 2005-2021 Gentoo Foundation + * Copyright 2005-2022 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 * * Copyright 2005 Martin Schlemmer - <aza...@gentoo.org> @@ -501,11 +501,15 @@ int qlist_main(int argc, char **argv) } snprintf(qfmt, sizeof(qfmt), "%sCATEGORY%s" "%s%s%s" /* PN/PF */ + "%s%s%s" /* BUILDID */ "%s%s%s" /* SLOT */ "%s%s%s" /* SUBSLOT */ "%s%s%s", /* REPO */ l, r, l, verbose ? "PF" : "PN", r, + verbose && state.do_binpkgs ? l : "", + verbose && state.do_binpkgs ? "BUILDID" : "", + verbose && state.do_binpkgs ? r : "", show_slots >= 1 ? l : "", show_slots >= 1 ? "SLOT" : "", show_slots >= 1 ? r : "",