show usage when no command is given

This commit is contained in:
2026-08-22 06:15:59 +02:00
parent 3869ca5a95
commit acac5b685b
+2
View File
@@ -277,6 +277,8 @@ if $FULL_HELP; then
exit $?
fi
[ -z "$action" ] && usage >&2 && exit 255
if [ "$action" == 'install' ]; then
if [ -f "$cfgfile" ]; then
source "$cfgfile" || exit $?