Deprecate command parameters not starting with dash
This commit is contained in:
@@ -40,12 +40,12 @@ usage() {
|
|||||||
cat << EOF
|
cat << EOF
|
||||||
Options:
|
Options:
|
||||||
|
|
||||||
gz | --gz -- Export a ZFS jail using GZIP(.gz) compressed image.
|
--gz -- Export a ZFS jail using GZIP(.gz) compressed image.
|
||||||
-r | raw | --raw -- Export a ZFS jail to an uncompressed RAW image.
|
-r | --raw -- Export a ZFS jail to an uncompressed RAW image.
|
||||||
-s | safe | --safe -- Safely stop and start a ZFS jail before the exporting process.
|
-s | --safe -- Safely stop and start a ZFS jail before the exporting process.
|
||||||
tgz | --tgz -- Export a jail using simple .tgz compressed archive instead.
|
--tgz -- Export a jail using simple .tgz compressed archive instead.
|
||||||
txz | --txz -- Export a jail using simple .txz compressed archive instead.
|
--txz -- Export a jail using simple .txz compressed archive instead.
|
||||||
-v | verbose | --verbose -- Be more verbose during the ZFS send operation.
|
-v | --verbose -- Be more verbose during the ZFS send operation.
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
@@ -38,8 +38,8 @@ usage() {
|
|||||||
cat << EOF
|
cat << EOF
|
||||||
Options:
|
Options:
|
||||||
|
|
||||||
-f | force | --force -- Force an archive import regardless if the checksum file does not match or missing.
|
-f | --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.
|
-v | --verbose -- Be more verbose during the ZFS receive operation.
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user