Fix check on number of arguments.

This commit is contained in:
2026-03-11 20:33:57 +01:00
parent 213cd56afc
commit 98e37ba58c

View File

@@ -26,9 +26,9 @@ set -euo pipefail
CLIP=0
if [ $# -ne 1 ]
if [ $# -lt 1 ]
then
>&2 echo "Usage: $0 <url>"
>&2 echo "Usage: $0 [-c] <url>"
exit 1
fi