[Bug 259696] pkg search -q -o does not work properly
Date: Sun, 07 Nov 2021 12:31:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259696
Bug ID: 259696
Summary: pkg search -q -o does not work properly
Product: Base System
Version: 13.0-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: vermaden@interia.pl
Hi,
By default *pkg search* displays description on the right, like that:
% pkg search salt
p5-Crypt-Salt-0.01_1 Perl extension to generate a salt to be fed into
crypt
p5-Crypt-SaltedHash-0.09 Perl extension to work with salted hashes
py38-salt-3004_1 Distributed remote execution and configuration
management system
py38-saltyrtc.server-5.0.1_1 SaltyRTC compliant signalling server
rubygem-hammer_cli_foreman_salt-0.0.5 SaltStack integration commands for Hammer
CLI
rubygem-smart_proxy_salt-4.0.0 SaltStack Plug-In for Foreman's Smart Proxy
With -o it should display origins instead of package names, that works:
% pkg search -o salt
security/p5-Crypt-Salt Perl extension to generate a salt to be fed into
crypt
security/p5-Crypt-SaltedHash Perl extension to work with salted hashes
sysutils/py-salt Distributed remote execution and configuration
management system
net/py-saltyrtc.server SaltyRTC compliant signalling server
sysutils/rubygem-hammer_cli_foreman_salt SaltStack integration commands for
Hammer CLI
sysutils/rubygem-smart_proxy_salt SaltStack Plug-In for Foreman's Smart Proxy
With just -q it should not display description on the right - and that also
works:
% pkg search -q salt
p5-Crypt-Salt-0.01_1
p5-Crypt-SaltedHash-0.09
py38-salt-3004_1
py38-saltyrtc.server-5.0.1_1
rubygem-hammer_cli_foreman_salt-0.0.5
rubygem-smart_proxy_salt-4.0.0
So to the point - with both -q and -o should print only origins without
description on the right side, but it prints package names instead:
% pkg search -q -o salt
p5-Crypt-Salt-0.01_1
p5-Crypt-SaltedHash-0.09
py38-salt-3004_1
py38-saltyrtc.server-5.0.1_1
rubygem-hammer_cli_foreman_salt-0.0.5
rubygem-smart_proxy_salt-4.0.0
It should be like that:
% pkg search -o -q salt
security/p5-Crypt-Salt
security/p5-Crypt-SaltedHash
sysutils/py-salt
net/py-saltyrtc.server
sysutils/rubygem-hammer_cli_foreman_salt
sysutils/rubygem-smart_proxy_salt
Regards.
--
You are receiving this mail because:
You are the assignee for the bug.