pkg upgrade has no description of what -x does

Matthew Seaman matthew at FreeBSD.org
Sun May 12 13:59:21 UTC 2019


On 12/05/2019 13:29, tech-lists wrote:
> Hi,
> 
> man pkg-upgrade has a summary like this
> 
> SYNOPSIS
>     pkg upgrade [-fInFqUy] [-r reponame] [-Cgix]
>                 [<pkg-origin|pkg-name|pkg-name-version> ...]
> 
> but nothing mentioning -x as an option in the rest of the document.
> 
> I'm hoping it's a switch for exclude wildcard. Is it?
> 
> thanks,

Good catch -- that's definitely an omission from the man page.

However, -x means the same thing everywhere it's used -- eg. from the
pkg-install(8) man page:

     -x, --regex
                Treat the package names as regular expressions according to
                the "modern" or "extended" syntax of re_format(7).


	Cheers,

	Matthew

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-pkg/attachments/20190512/88ae5eb2/attachment.sig>


More information about the freebsd-pkg mailing list