From nobody Sun Nov 7 12:31:08 2021 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 924CF184F910 for ; Sun, 7 Nov 2021 12:31:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HnDB43hBMz3j5C for ; Sun, 7 Nov 2021 12:31:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5E64D1E486 for ; Sun, 7 Nov 2021 12:31:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1A7CV86H005259 for ; Sun, 7 Nov 2021 12:31:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1A7CV85o005257 for bugs@FreeBSD.org; Sun, 7 Nov 2021 12:31:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 259696] pkg search -q -o does not work properly Date: Sun, 07 Nov 2021 12:31:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: vermaden@interia.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259696 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=20=20=20 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 configurati= on 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 Ha= mmer 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=20=20=20 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 configurati= on 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 Pro= xy With just -q it should not display description on the right - and that also works: % pkg search -q salt=20 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=20 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=20=20=20 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. --=20 You are receiving this mail because: You are the assignee for the bug.=