Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2019 05:18:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 233304] ports-mgmt/pkg info -q package doesn't work
Message-ID:  <bug-233304-32340-gSWHeHSiiL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-233304-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-233304-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233304

--- Comment #4 from freebsd@dreamchaser.org ---
> It works in combination with other switches:
>
> pkg info -qo firefox
> www/firefox

In that case, it *should* work by itself, as documented.

It seems rather bizarre behavior in terms of code to have it work in
combination with other flags with a filename argument, but not alone; yet w=
ork
alone with no filename argument.

It looks to me like the query_flags will be empty with only -q present, as =
it
is taken out with the "quiet" flag, and pkgdb_it_next probably does not ret=
urn
EPKG_OK (about line 448 in info.c).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233304-32340-gSWHeHSiiL>