HomeFreeBSD

zpool/zfs: restore -V & --version options

Description

zpool/zfs: restore -V & --version options

The -j option added a round of getopt, which didn't know the magic
version flags. So just bypass the whole thing and go straight to the
human output function for the special case.

Sponsored-by: https://despairlabs.com/sponsor/
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Umer Saleem <usaleem@ixsystems.com>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closes #16615
Closes #16617

Details

Provenance
rob.norris_klarasystems.comAuthored on Oct 7 2024, 8:09 PM
GitHub <noreply@github.com>Committed on Oct 7 2024, 8:09 PM
Parents
rGab777f436ce2: Return boolean_t in inline functions of lib/libspl/include/sys/uio.h
Branches
Unknown
Tags
Unknown