From b74d1c92479bc6df61e7283f7639b02837bfb5f3 Mon Sep 17 00:00:00 2001 From: Mikhail Sobolev Date: Wed, 3 Apr 2013 16:37:56 +0300 Subject: [PATCH] change option description to reflect the semantics At least, for me, 'map' means that there are two values and one is "mapped" to another. In this case, just one value is provided (container's port), the other value is automatically obtained (host's port) and the actual mapping can be seen using ``docker port`` command. --- container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container.go b/container.go index adb1602162..8960320e1f 100644 --- a/container.go +++ b/container.go @@ -80,7 +80,7 @@ func ParseRun(args []string, stdout io.Writer) (*Config, error) { flMemory := cmd.Int64("m", 0, "Memory limit (in bytes)") var flPorts ports - cmd.Var(&flPorts, "p", "Map a network port to the container") + cmd.Var(&flPorts, "p", "Expose a container's port to the host (use 'docker port' to see the actual mapping)") var flEnv ListOpts cmd.Var(&flEnv, "e", "Set environment variables")