freebsd-src/cddl/contrib/opensolaris/cmd/zpool
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
..
zpool-features.7 mdoc: remove EOL whitespace. 2014-12-29 13:50:59 +00:00
zpool.8 MFV r269010: 2014-07-26 10:20:48 +00:00
zpool_iter.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
zpool_main.c Fix "invalid type '(null)'" usage messages in zfs(8) and zpool(8). 2016-02-21 13:03:58 +00:00
zpool_util.c Finally... Import the latest open-source ZFS version - (SPA) 28. 2011-02-27 19:41:40 +00:00
zpool_util.h Finally... Import the latest open-source ZFS version - (SPA) 28. 2011-02-27 19:41:40 +00:00
zpool_vdev.c Mechanically convert cddl sun #ifdef's to illumos 2015-01-17 14:44:59 +00:00