Date: Tue, 6 May 2025 10:46:34 +0200 (CEST) From: Ronald Klop <ronald-lists@klop.ws> To: "Dan Mahoney (Ports)" <freebsd@gushi.org> Cc: "freebsd-current@freebsd.org" <freebsd-current@FreeBSD.org> Subject: Re: Recent changes to pkg argument parsing (https://reviews.freebsd.org/D49977) Message-ID: <2112105736.3813.1746521194057@localhost> In-Reply-To: <26F78444-4489-444A-87E3-63E24F21F091@gushi.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] This pkg argument issue is fixed yesterday. https://cgit.freebsd.org/src/commit/?id=73ba568b1c35aabc1682540b5b4d5d77220c5468 Regards, Ronald. Van: "Dan Mahoney (Ports)" <freebsd@gushi.org> Datum: dinsdag, 6 mei 2025 10:18 Aan: "freebsd-current@freebsd.org" <freebsd-current@FreeBSD.org> 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 > > > [-- Attachment #2 --] <html><head></head><body>This pkg argument issue is fixed yesterday.<br> <br> <a href="https://cgit.freebsd.org/src/commit/?id=73ba568b1c35aabc1682540b5b4d5d77220c5468">https://cgit.freebsd.org/src/commit/?id=73ba568b1c35aabc1682540b5b4d5d77220c5468</a><br> <br> Regards,<br> <br> Ronald.<br> <br> <p><strong>Van:</strong> "Dan Mahoney (Ports)" <freebsd@gushi.org><br> <strong>Datum:</strong> dinsdag, 6 mei 2025 10:18<br> <strong>Aan:</strong> "freebsd-current@freebsd.org" <freebsd-current@FreeBSD.org><br> <strong>Onderwerp:</strong> Recent changes to pkg argument parsing (https://reviews.freebsd.org/D49977)</p> <blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px"> <div class="MessageRFC822Viewer" id="P"> <div class="TextPlainViewer" id="P.P">All,<br> <br> I just joined the list and can't figure out how to reply to Graham's emails of a few days ago.<br> <br> Since this change, I'm also finding cases where regular pkg arguments are being warned about (but still work).<br> <br> For example, we've got a cron job on every box that gathers all our leaf packages into a file:<br> <br> #!/bin/sh<br> /usr/sbin/pkg query -e '%#r == 0' '%n-%v'<br> <br> We now get warnings:<br> <br> # /usr/local/libexec/pkgleaf<br> pkg: invalid option -- e<br> <br> (but the query still runs).<br> <br> Has anyone else seen this?<br> <br> -Dan</div> <hr></div> </blockquote> <br> </body></html>help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2112105736.3813.1746521194057>
