Deprecate command parameters not starting with dash

This commit is contained in:
JRGTH
2021-07-08 15:29:31 -04:00
parent b0f947ca00
commit 5c4d69775f
2 changed files with 8 additions and 8 deletions

View File

@@ -40,12 +40,12 @@ usage() {
cat << EOF
Options:
gz | --gz -- Export a ZFS jail using GZIP(.gz) compressed image.
-r | raw | --raw -- Export a ZFS jail to an uncompressed RAW image.
-s | safe | --safe -- Safely stop and start a ZFS jail before the exporting process.
tgz | --tgz -- Export a jail using simple .tgz compressed archive instead.
txz | --txz -- Export a jail using simple .txz compressed archive instead.
-v | verbose | --verbose -- Be more verbose during the ZFS send operation.
--gz -- Export a ZFS jail using GZIP(.gz) compressed image.
-r | --raw -- Export a ZFS jail to an uncompressed RAW image.
-s | --safe -- Safely stop and start a ZFS jail before the exporting process.
--tgz -- Export a jail using simple .tgz compressed archive instead.
--txz -- Export a jail using simple .txz compressed archive instead.
-v | --verbose -- Be more verbose during the ZFS send operation.
EOF
exit 1

View File

@@ -38,8 +38,8 @@ usage() {
cat << EOF
Options:
-f | force | --force -- Force an archive import regardless if the checksum file does not match or missing.
-v | verbose | --verbose -- Be more verbose during the ZFS receive operation.
-f | --force -- Force an archive import regardless if the checksum file does not match or missing.
-v | --verbose -- Be more verbose during the ZFS receive operation.
EOF
exit 1