Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 May 2025 01:18:26 -0700
From:      "Dan Mahoney (Ports)" <freebsd@gushi.org>
To:        "freebsd-current@freebsd.org" <freebsd-current@FreeBSD.org>
Subject:   Recent changes to pkg argument parsing (https://reviews.freebsd.org/D49977)
Message-ID:  <26F78444-4489-444A-87E3-63E24F21F091@gushi.org>

index | next in thread | raw e-mail

All,

I just joined the list and can't figure out how to reply to Graham's emails of a few days ago.

Since this change, I'm also finding cases where regular pkg arguments are being warned about (but still work).

For example, we've got a cron job on every box that gathers all our leaf packages into a file:

#!/bin/sh
/usr/sbin/pkg query -e '%#r == 0' '%n-%v'

We now get warnings:

# /usr/local/libexec/pkgleaf
pkg: invalid option -- e

(but the query still runs).

Has anyone else seen this?

-Dan

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26F78444-4489-444A-87E3-63E24F21F091>