From f39168b9c26e0bd1cd3f7f7c73edf1ddc3b9cd57 Mon Sep 17 00:00:00 2001 From: JRGTH Date: Wed, 14 Jul 2021 15:02:12 -0400 Subject: [PATCH] Be more specific with export/import command options --- usr/local/share/bastille/export.sh | 2 ++ usr/local/share/bastille/import.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/usr/local/share/bastille/export.sh b/usr/local/share/bastille/export.sh index 057906c2..f9d66721 100644 --- a/usr/local/share/bastille/export.sh +++ b/usr/local/share/bastille/export.sh @@ -49,6 +49,8 @@ usage() { -v | --verbose -- Be more verbose during the ZFS send operation. --xz -- Export a ZFS jail using XZ(.xz) compressed image. +Tip: If no option specified, container should be exported to standard output. + EOF exit 1 } diff --git a/usr/local/share/bastille/import.sh b/usr/local/share/bastille/import.sh index f4c78ced..22eddc43 100644 --- a/usr/local/share/bastille/import.sh +++ b/usr/local/share/bastille/import.sh @@ -42,6 +42,8 @@ usage() { -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. +Tip: If no option specified, container should be imported from standard input. + EOF exit 1 }