Browse code

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.

Mikhail Sobolev authored on 2013/04/03 22:37:56
Showing 1 changed files
... ...
@@ -80,7 +80,7 @@ func ParseRun(args []string, stdout io.Writer) (*Config, error) {
80 80
 	flMemory := cmd.Int64("m", 0, "Memory limit (in bytes)")
81 81
 
82 82
 	var flPorts ports
83
-	cmd.Var(&flPorts, "p", "Map a network port to the container")
83
+	cmd.Var(&flPorts, "p", "Expose a container's port to the host (use 'docker port' to see the actual mapping)")
84 84
 
85 85
 	var flEnv ListOpts
86 86
 	cmd.Var(&flEnv, "e", "Set environment variables")