Error in web page for "docker compose"

When reading the web page describing “docker compose” I found the use of “docker compose” and “docker-compose” a bit confusing. The web page contains two sets of aliases that can be used, the first assumes docker-compose.yml is below /opt and the second assumes in the home directory. The first set of aliases invoke “docker-compose” and the second set invokes “docker compose”. I believe that second set of aliases should be executing “docker-compose”. I had to make that change on my system.

The web page: Docker Compose -

Those are all examples. The page explains the relationship between docker-compose and docker compose: Docker Compose -