From 5c4d69775faf42db336223ead6a86ddba81bddcd Mon Sep 17 00:00:00 2001 From: JRGTH Date: Thu, 8 Jul 2021 15:29:31 -0400 Subject: [PATCH] Deprecate command parameters not starting with dash --- usr/local/share/bastille/export.sh | 12 ++++++------ usr/local/share/bastille/import.sh | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/usr/local/share/bastille/export.sh b/usr/local/share/bastille/export.sh index 66faad3..400db63 100644 --- a/usr/local/share/bastille/export.sh +++ b/usr/local/share/bastille/export.sh @@ -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 diff --git a/usr/local/share/bastille/import.sh b/usr/local/share/bastille/import.sh index 5501904..feba602 100644 --- a/usr/local/share/bastille/import.sh +++ b/usr/local/share/bastille/import.sh @@ -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