Add godoc-style docstrings to Cmd... methods

Signed-off-by: Peggy Li <peggyli.224@gmail.com>
This commit is contained in:
Peggy Li
2015-03-25 14:17:11 -07:00
parent 3d9cbf0e71
commit b5d0380108
41 changed files with 152 additions and 8 deletions
+3
View File
@@ -14,6 +14,9 @@ import (
"github.com/docker/docker/utils"
)
// CmdAttach attaches to a running container.
//
// Usage: docker attach [OPTIONS] CONTAINER
func (cli *DockerCli) CmdCommit(args ...string) error {
cmd := cli.Subcmd("commit", "CONTAINER [REPOSITORY[:TAG]]", "Create a new image from a container's changes", true)
flPause := cmd.Bool([]string{"p", "-pause"}, true, "Pause container during commit")