Add check if any subcommand is called

This commit is contained in:
Deda 2024-02-23 15:35:03 +01:00
parent b3ba4fcaf5
commit de14c59233

View File

@ -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