mirror_zfs/cmd
loli10K d02186ee2b 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 <ryan@ixsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #9270
2019-09-04 13:36:25 -07:00
..
arc_summary Fix typos in cmd/ 2019-08-30 09:43:30 -07:00
arcstat Fix typos in cmd/ 2019-08-30 09:43:30 -07:00
dbufstat Fix typos in cmd/ 2019-08-30 09:43:30 -07:00
fsck_zfs Fix typos in cmd/ 2019-08-30 09:43:30 -07:00
mount_zfs Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00
raidz_test Support -fsanitize=address with --enable-asan 2018-01-10 10:49:27 -08:00
vdev_id Fix typos in cmd/ 2019-08-30 09:43:30 -07:00
zdb Fix typos in cmd/ 2019-08-30 09:43:30 -07:00
zed Fix typos in cmd/ 2019-08-30 09:43:30 -07:00
zfs Fix typos in cmd/ 2019-08-30 09:43:30 -07:00
zgenhostid Add zgenhostid utility script 2017-07-25 13:22:03 -04:00
zhack Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00
zinject Fix typos in cmd/ 2019-08-30 09:43:30 -07:00
zpool Fix zpool subcommands error message with some unsupported options 2019-09-04 13:36:25 -07:00
zstreamdump Fix typos in cmd/ 2019-08-30 09:43:30 -07:00
ztest Fix typos in cmd/ 2019-08-30 09:43:30 -07:00
zvol_id Fedora 28: Fix misc bounds check compiler warnings 2018-04-04 10:16:47 -07:00
zvol_wait zvol_wait script should ignore partially received zvols 2019-09-03 11:29:52 -07:00
Makefile.am New service that waits on zvol links to be created 2019-07-17 15:33:05 -07:00