freebsd-nq/usr.sbin/pkg
Kyle Evans 40b9f924b1 pkg: allow multiple add arguments again
While pkg(7) add only handles a single 'add' argument, pkg-add(8) fully
handles multiple arguments.

Stop rejecting it, just turn off local-bootstrap mode and proceed to
remote bootstrap if we need it.

While we're here, check if the first argument to pkg add is even a pkg
package. If it's not, also do remote bootstrap instead. Future work
could improve this altogether by picking out a pkg package out of many
and local bootstrap then pass the rest through to the newly installed
pkg.

Reviewed by:	bapt, manu (earlier version)
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D28766
2021-08-06 14:25:07 -05:00
..
config.c pkg(7): replace usage of sbuf(9) with open_memstream(3) 2021-04-29 06:41:59 +02:00
config.h Make pkg(7) use environment variables specified in pkg.conf 2021-04-27 04:01:49 +02:00
dns_utils.c pkg(7): address minor nits (mostly clang-analyze complaints) 2021-02-11 18:58:27 -06:00
dns_utils.h
FreeBSD.conf.latest Keep two versions of the FreeBSD.conf pkg configuration file; one which 2019-04-24 06:25:21 +00:00
FreeBSD.conf.quarterly Keep two versions of the FreeBSD.conf pkg configuration file; one which 2019-04-24 06:25:21 +00:00
Makefile pkg(7): replace usage of sbuf(9) with open_memstream(3) 2021-04-29 06:41:59 +02:00
Makefile.depend
pkg.7 pkg(7): add an -r reponame option for bootstrap and add 2021-02-11 18:58:26 -06:00
pkg.c pkg: allow multiple add arguments again 2021-08-06 14:25:07 -05:00