freebsd-skq/cddl
dim 579b7ad49f Fix "invalid type '(null)'" usage messages in zfs(8) and zpool(8).
Currently, zfs(8) and zpool(8) print "invalid type '(null)'" or similar
messages, if you pass in invalid types, sources or column names for "zfs
get", "zfs list" and "zpool get".  This is because the commands use
getsubopt(3), and in case of failure, they print 'value', which is NULL
when sub options don't match.

They should print 'suboptarg' instead, which is the documented way to
get at the non-matching sub option value.

Reviewed by:	smh
MFC after:	3 days
Differential Revision: https://reviews.freebsd.org/D5365
2016-02-21 13:03:58 +00:00
..
compat/opensolaris
contrib Fix "invalid type '(null)'" usage messages in zfs(8) and zpool(8). 2016-02-21 13:03:58 +00:00
lib We don't support libdtrace for RISC-V yet. 2016-01-25 10:18:41 +00:00
sbin Reduce overlinking 2015-12-24 11:35:42 +00:00
tests Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and 2015-10-12 08:16:03 +00:00
usr.bin Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
usr.sbin Test directories can build in parallel fine. 2016-02-16 02:13:59 +00:00
Makefile Add more SUBDIR_PARALLEL. 2015-10-15 22:55:08 +00:00
Makefile.inc