This pkg argument issue is fixed yesterday.

https://cgit.freebsd.org/src/commit/?id=73ba568b1c35aabc1682540b5b4d5d77220c5468

Regards,

Ronald.


Van: "Dan Mahoney (Ports)" <[email protected]>
Datum: dinsdag, 6 mei 2025 10:18
Aan: "[email protected]" <[email protected]>
Onderwerp: Recent changes to pkg argument parsing 
(https://reviews.freebsd.org/D49977)

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




Reply via email to