diff options
author | loli10K <[email protected]> | 2019-09-04 22:36:25 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-09-04 13:36:25 -0700 |
commit | d02186ee2b0570069cfbb0d08d5c52752648f388 (patch) | |
tree | f6b31f94a82e160fdb8d6bffa4d6a0a6b528029c /include/spl/sys/kmem_cache.h | |
parent | a49dbbbe06c6c0d0c401530c756c0c056d49fbb7 (diff) |
Fix zpool subcommands error message with some unsupported options
Both 'detach' and 'online' zpool subcommands, when provided with an
unsupported option, forget to print it in the error message:
# zpool online -t rpool vda3
invalid option ''
usage:
online [-e] <pool> <device> ...
This changes fixes the error message in order to include the actual
option that is not supported.
Reviewed-by: Ryan Moeller <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: loli10K <[email protected]>
Closes #9270
Diffstat (limited to 'include/spl/sys/kmem_cache.h')
0 files changed, 0 insertions, 0 deletions