|
@@ -14,7 +14,7 @@ import (
|
|
|
// NewPushCommand creates a new `docker push` command
|
|
|
func NewPushCommand(dockerCli *client.DockerCli) *cobra.Command {
|
|
|
cmd := &cobra.Command{
|
|
|
- Use: "push NAME[:TAG]",
|
|
|
+ Use: "push [OPTIONS] NAME[:TAG]",
|
|
|
Short: "Push an image or a repository to a registry",
|
|
|
Args: cli.ExactArgs(1),
|
|
|
RunE: func(cmd *cobra.Command, args []string) error {
|