freebsd-skq/usr.sbin/pkg
Baptiste Daroussin ae994fdc5b pkg(7): rework the arguments handling
Rework the arguments handling around using getopt_long:
* add long option support
* add -4 and -6 support to enforce ipv4 or ipv6

While here fix a regression which occured between FreeBSD 12.1 and
FreeBSD 12.2 where pkg bootstrap -y stopped working

PR:		252270
MFC after:	2 weeks
Submitted by:	evilham <contact@evilham.com>
Differential Revision:	https://reviews.freebsd.org/D27860
2021-01-06 11:47:34 +01:00
..
config.c Make use of the getlocalbase() function for run-time adjustment of the 2020-11-18 20:00:55 +00:00
config.h Replace literal uses of /usr/local in C sources with _PATH_LOCALBASE 2020-10-27 11:29:11 +00:00
dns_utils.c
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 Make use of the getlocalbase() function for run-time adjustment of the 2020-11-18 20:00:55 +00:00
Makefile.depend
pkg.7 pkg(7): rework the arguments handling 2021-01-06 11:47:34 +01:00
pkg.c pkg(7): rework the arguments handling 2021-01-06 11:47:34 +01:00