Skip to content

Correct references to --publish long syntax in docs#746

Merged
thaJeztah merged 1 commit intodocker:masterfrom
lachlancooper:master
Dec 13, 2017
Merged

Correct references to --publish long syntax in docs#746
thaJeztah merged 1 commit intodocker:masterfrom
lachlancooper:master

Conversation

@lachlancooper
Copy link
Copy Markdown
Contributor

This fixes the argument names in the long syntax for the --publish, --publish-add, and --publish-rm flags. The correct arguments are published and target, not target and port.

The issue is described in more detail at docker/docs#5370

@GordonTheTurtle
Copy link
Copy Markdown

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:

$ git clone -b "master" git@github.com:lachlancooper/cli.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

This is the same issue as described at docker/docs#5370

Signed-off-by: Lachlan Cooper <lachlancooper@gmail.com>
@codecov-io
Copy link
Copy Markdown

codecov-io commented Dec 12, 2017

Codecov Report

Merging #746 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #746   +/-   ##
=======================================
  Coverage   53.45%   53.45%           
=======================================
  Files         218      218           
  Lines       14613    14613           
=======================================
  Hits         7811     7811           
  Misses       6321     6321           
  Partials      481      481

Copy link
Copy Markdown
Contributor

@mdlinville mdlinville left a comment

Choose a reason for hiding this comment

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

LGTM after you follow the instructions to sign the commit. Sorry, you can't just edit in the Github editor for this repo. Thanks for this!

Copy link
Copy Markdown
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@thaJeztah thaJeztah merged commit 29ae8cf into docker:master Dec 13, 2017
@GordonTheTurtle GordonTheTurtle added this to the 18.01.0 milestone Dec 13, 2017
@thaJeztah thaJeztah modified the milestones: 18.01.0, 17.12.0 Dec 13, 2017
nobiit pushed a commit to nobidev/docker-cli that referenced this pull request Nov 19, 2025
Correct references to --publish long syntax in docs
Upstream-commit: 29ae8cf
Component: cli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants