From acac5b685bb9d8b4e6e1aff60f903db0657037c52f3d0a693c59f0627ca69d9b Mon Sep 17 00:00:00 2001 From: Thomas Oettli Date: Sat, 22 Aug 2026 06:15:59 +0200 Subject: [PATCH] show usage when no command is given --- pbc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pbc b/pbc index 0e29ff8..587efde 100755 --- a/pbc +++ b/pbc @@ -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 $?