|
@@ -131,8 +131,8 @@ func (cli *DockerCli) CmdInsert(args ...string) error {
|
|
|
}
|
|
|
|
|
|
func (cli *DockerCli) CmdBuild(args ...string) error {
|
|
|
- cmd := Subcmd("build", "PATH | -", "Build a new container image from the source code at PATH")
|
|
|
- tag := cmd.String("t", "", "Tag to be applied to the resulting image")
|
|
|
+ cmd := Subcmd("build", "[OPTIONS] PATH | -", "Build a new container image from the source code at PATH")
|
|
|
+ tag := cmd.String("t", "", "Tag to be applied to the resulting image in case of success")
|
|
|
if err := cmd.Parse(args); err != nil {
|
|
|
return nil
|
|
|
}
|