freebsd-dev/usr.sbin
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
..
ac
accton
acpi
adduser
ancontrol
apm
apmd
arp
audit
auditd
auditdistd
auditreduce
authpf
autofs
bhyve bhyve: fix build without casper/capsicum support 2021-01-03 18:17:04 +01:00
bhyvectl bhyvectl(8): Normalize the man page date 2020-12-19 13:21:40 +00:00
bhyveload
binmiscctl
blacklistctl
blacklistd
bluetooth bluetooth: Fix a mandoc related issues 2020-12-19 13:36:59 +00:00
boot0cfg
bootparamd bootparamd: Add missing __unused mark. 2021-01-03 00:40:34 +09:00
bsdconfig
bsdinstall bsdinstall: remove VTOC8 partition scheme option 2020-12-17 15:00:19 +00:00
bsnmpd
btxld
camdd camdd(8): Fix the man page date 2020-12-19 13:17:25 +00:00
cdcontrol
certctl
chkgrp
chown fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
chroot
ckdist fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
clear_locks
config config: Fix a few mandoc related errors 2020-12-19 13:11:44 +00:00
cpucontrol
crashinfo crashinfo: Add references to the gdb port/package 2020-12-02 19:58:50 +00:00
cron
crunch Lift scope of buf[] to make it extend to a potential access via *basename 2020-12-10 09:31:05 +00:00
ctladm Replace paths in ctladm(8) examples with something sensible. 2020-11-23 14:30:27 +00:00
ctld Fix typo in an_initator_name. 2020-12-30 13:05:41 -05:00
cxgbetool
daemon
dconschat
devctl devctl(8): Correct "sections out of conventional order" error 2020-12-19 13:05:54 +00:00
devinfo Fix devinfo typo. 2021-01-05 14:56:23 -05:00
diskinfo Make "diskinfo -i" also test 1MB reads. 2020-12-10 10:23:18 +00:00
dumpcis
editmap
edquota
efibootmgr efibootmgr: fix an incorrect error handling check 2020-11-30 22:16:11 +00:00
efidp
efivar
etcupdate
extattr
extattrctl
fdcontrol
fdformat
fdread
fdwrite
fifolog
flowctl
fmtree fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
freebsd-update freebsd-update: unconditionally regenerate passwd/login.conf files 2020-12-17 03:42:54 +00:00
fstyp
ftp-proxy
fwcontrol
getfmac
getpmac
gpioctl Provide userland notification of gpio pin changes ("userland gpio interrupts"). 2020-12-12 18:34:15 +00:00
gssd
gstat
hyperv
i2c
ifmcstat
inetd
iostat
iovctl
ip6addrctl
ipfwpcap
iscsid iscsid(8): fix memory leak by freeing the 'addr' 2020-12-29 14:53:06 +00:00
jail
jexec
jls Bugfix to not hide jailparam flags, which for example changes the output 2020-12-15 20:56:35 +00:00
kbdcontrol
kbdmap
keyserv
kgmon
kldxref
lastlogin
lpr
lptcontrol
mailstats
mailwrapper
makefs
makemap
manctl
memcontrol
mergemaster
mfiutil
mixer
mld6query
mlx5tool
mlxcontrol
mount_smbfs
mountd Update man page for new TLS export options. 2020-11-20 22:14:51 +00:00
moused
mpsutil mpsutil(8): Remove trailing whitespace 2020-12-19 13:23:26 +00:00
mptable
mptutil
mtest
ndiscvt
ndp
newsyslog
nfscbd
nfsd nfsv4(4): Fix a few issues reported by mandoc 2020-12-19 13:45:39 +00:00
nfsdumpstate
nfsrevoke
nfsuserd
ngctl
nghook
nmtree
nologin
nscd
ntp Update leap-seconds to leap-seconds.3676924800. 2020-12-29 22:01:46 -08:00
nvram
ofwdump
pciconf
periodic Fix daily_backup_gpart_exclude in periodic daily 221.backup-gpart 2020-12-26 19:27:12 -05:00
pkg pkg(7): rework the arguments handling 2021-01-06 11:47:34 +01:00
pmc Remove redundand redefinion, fixing build. 2020-12-19 01:46:47 +00:00
pmcannotate
pmccontrol
pmcstat Add the missing pmcstat log entries 2021-01-05 10:03:05 +00:00
pmcstudy
pnfsdscopymr
pnfsdsfile
pnfsdskill
pnpinfo
portsnap
powerd
ppp pkgbase: Put ppp in it's own package 2021-01-04 16:19:36 +01:00
pppctl pkgbase: Put ppp in it's own package 2021-01-04 16:19:36 +01:00
praliases
praudit
prometheus_sysctl_exporter
pstat
pw
pwd_mkdb
pwm
quot
quotaon
rarpd
repquota
rip6query
rmt
route6d
rpc.lockd
rpc.statd
rpc.umntall
rpc.yppasswdd
rpc.ypupdated
rpc.ypxfrd
rpcbind
rrenumd
rtadvctl usr.sbin/rtadvctl: Remove support for FreeBSD 9.x. 2021-01-01 16:06:08 -08:00
rtadvd
rtprio
rtsold rtsold: Fix bugs reported by Coverity 2020-12-02 16:46:45 +00:00
rwhod
sa
sendmail
service
services_mkdb services: reinstate CouchDB and bring amqps 2020-12-31 20:49:03 -05:00
sesutil
setfib
setfmac fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
setpmac
smbmsg
snapinfo
spi
spkrtest
spray
syslogd fix up documentation/comments: processname is not defined, but programname 2020-12-10 23:23:42 +00:00
sysrc
tcpdchk
tcpdmatch
tcpdrop
tcpdump
tests
traceroute
traceroute6 ping: fix some man pages and tests after r368045 2020-11-26 04:55:02 +00:00
trim trim(8): Fix a few issues reported by mandoc 2020-12-19 13:56:19 +00:00
trpt
tzsetup
uathload
uefisign
ugidfw
uhsoctl
unbound Update the unbound version number from r368478. 2020-12-17 19:50:41 +00:00
usbconfig
usbdump
utx
valectl [vale] Fix valectl to compile on a 32-bit platform 2020-12-30 10:40:43 -08:00
vidcontrol
vigr
vipw
wake
watch
watchdogd
wlandebug
wpa hostapd.conf(5): Add missing 'l' 2020-11-20 17:13:13 +00:00
yp_mkdb
ypbind
ypldap
yppoll
yppush
ypserv
ypset
zic
zonectl Don't set more_data which is never used. 2020-12-24 18:49:12 -08:00
zzz
Makefile
Makefile.amd64
Makefile.arm
Makefile.arm64
Makefile.i386
Makefile.inc
Makefile.mips
Makefile.powerpc
Makefile.riscv