freebsd-src/cddl/contrib/opensolaris/cmd
Dimitry Andric 1e1bbb79fd 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
..
dtrace Add a trailing newline to the expected output for tst.walltimestamp.ksh. 2015-12-07 21:59:10 +00:00
lockstat Have lockstat(1) trace locks by name rather than by address. 2015-09-30 05:46:56 +00:00
mdb/tools/common Mechanically convert cddl sun #ifdef's to illumos 2015-01-17 14:44:59 +00:00
plockstat Fix the build for non-amd64. 2015-12-02 02:11:38 +00:00
pyzfs Merge ZFS version 15 and almost all OpenSolaris bugfixes referenced 2010-07-12 23:49:04 +00:00
stat/common Finally... Import the latest open-source ZFS version - (SPA) 28. 2011-02-27 19:41:40 +00:00
zdb Report an error if zdb cannot initialize zfs 2015-12-23 10:20:46 +00:00
zfs Fix "invalid type '(null)'" usage messages in zfs(8) and zpool(8). 2016-02-21 13:03:58 +00:00
zhack MFV 286707: 5959 clean up per-dataset feature count code 2015-08-12 23:59:17 +00:00
zinject zinject must use ioctl(2) compatibility wrapper 2014-01-16 12:21:21 +00:00
zlook Finally... Import the latest open-source ZFS version - (SPA) 28. 2011-02-27 19:41:40 +00:00
zpool Fix "invalid type '(null)'" usage messages in zfs(8) and zpool(8). 2016-02-21 13:03:58 +00:00
zstreamdump MFV r289312: 2605 want to resume interrupted zfs send 2015-10-15 08:47:32 +00:00
ztest Plug a memory leak. 2015-08-13 18:45:52 +00:00