Re: git: 1eb3f15c149b - main - fwget: add -q for quiet output

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Fri, 08 Nov 2024 18:17:00 UTC
On Fri, 8 Nov 2024, Bjoern A. Zeeb wrote:

> The branch main has been updated by bz:
>
> URL: https://cgit.FreeBSD.org/src/commit/?id=1eb3f15c149b9a2e5b6f5e10aed454fc85945bbd
>
> commit 1eb3f15c149b9a2e5b6f5e10aed454fc85945bbd
> Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
> AuthorDate: 2024-11-04 23:59:58 +0000
> Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
> CommitDate: 2024-11-08 18:13:54 +0000
>
>    fwget: add -q for quiet output
>
>    Introduce -q to quieten other output (unless -v is also given).
>
>    pkg-install(8) currently has no option to allow skipping unavail
>    packages but it will just fail.
>    We would realy want to try to install as much firmware found as
>    possible from the installer.
>    Work around this by doing one firmware package at a time.
>    For that it is highly helpful to be able to query (or possibly re-query)
>    all outstanding fimrware packages.
>    -q together with -n only shows each package to be installed one by line.
>
>    Once https://github.com/freebsd/pkg/issues/2195 will be implemented
>    we could undo this part of the change and future changes to the installer
>    and use the new option for pkg-install(8) there.
>
>    While here switch to getopts so -qn works and not just -q -n.
>
>    Sponsored by:   The FreeBSD Foundation
>    MFC after:      3 days

Reviewed by:	manu

>    Differential Revision: https://reviews.freebsd.org/D47445

-- 
Bjoern A. Zeeb                                                     r15:7