better error

This commit is contained in:
Hamcha 2024-03-31 00:38:59 +01:00
parent 63e4e0299f
commit 86b19620a7

View file

@ -19,8 +19,8 @@
#!/usr/bin/env bash
set -euo pipefail
if [ -z "$1" ]; then
echo "Usage: $0 <path-to-yaml-file>"
if [[ $# -eq 0 ]]; then
echo "Usage: $0 <path/to/docker-compose.yaml>"
exit 1
fi