From de14c5923347d6833722a8b2d742576ae07a994d Mon Sep 17 00:00:00 2001 From: Deda Date: Fri, 23 Feb 2024 15:35:03 +0100 Subject: [PATCH] Add check if any subcommand is called --- release/package/run.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/release/package/run.sh b/release/package/run.sh index 50b44d893..1e7687dcd 100755 --- a/release/package/run.sh +++ b/release/package/run.sh @@ -194,6 +194,9 @@ make_package () { echo "Package saved to $package_host_destination." } +if [[ "$#" -lt 1 ]]; then + print_help +fi case "$1" in init) shift 1