Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Parse --version and forward to docker/cli#1058

Merged
ndeloof merged 1 commit intodocker-archive:mainfrom
ndeloof:version
Dec 15, 2020
Merged

Parse --version and forward to docker/cli#1058
ndeloof merged 1 commit intodocker-archive:mainfrom
ndeloof:version

Conversation

@ndeloof
Copy link
Copy Markdown
Collaborator

@ndeloof ndeloof commented Dec 14, 2020

What I did
populate version opt and redirect to docker/cli if set

Related issue
#1049

@github-actions github-actions Bot added the cli cli label Dec 14, 2020
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Comment thread cli/main.go
root.PersistentFlags().StringVarP(&opts.Host, "host", "H", "", "Daemon socket(s) to connect to")
opts.AddConfigFlags(root.PersistentFlags())
opts.AddContextFlags(root.PersistentFlags())
opts.AddConfigFlags(root.PersistentFlags())
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume changing the order here has zero effect ?

@ndeloof ndeloof merged commit a87c583 into docker-archive:main Dec 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cli cli

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants