Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose v2.0.1 Missing "version" in --help #8729

Closed
Chaz6 opened this issue Oct 1, 2021 · 2 comments · Fixed by #8738
Closed

docker-compose v2.0.1 Missing "version" in --help #8729

Chaz6 opened this issue Oct 1, 2021 · 2 comments · Fixed by #8738

Comments

@Chaz6
Copy link

Chaz6 commented Oct 1, 2021

Although docker-compose version outputs the version as expected, it is missing from the --help output.

In docker-compose v1:

[..]
  stop               Stop services
  top                Display the running processes
  unpause            Unpause services
  up                 Create and start containers
  version            Show the Docker-Compose version information

In docker-compose v2.0.1:-

[..]
  start       Start services
  stop        Stop services
  top         Display the running processes
  unpause     unpause services
  up          Create and start containers

Run 'docker compose COMMAND --help' for more information on a command.
@jpdsc
Copy link

jpdsc commented Oct 2, 2021

Next to this, the documentation shows --version which is incorrect. It should be docker compose version.
image

https://docs.docker.com/compose/cli-command/#transitioning-to-ga-for-compose-v2

@mat007
Copy link
Member

mat007 commented Oct 4, 2021

Good catch @jpdsc, I opened a PR to fix the docs: docker/docs#13637

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants