Error with archive.sh script

I always get an “: invalid option” error message when I try to run the archive.sh script.
How can I prevent / fix that?
Thanks

You should run the archive.php script, not archive.sh: How to Set up Auto-Archiving of Your Reports - Analytics Platform - Matomo

Okay, thanks!