diff --git a/cli/command/trust/sign.go b/cli/command/trust/sign.go index 68598b9878..a4c888e6df 100644 --- a/cli/command/trust/sign.go +++ b/cli/command/trust/sign.go @@ -21,7 +21,7 @@ import ( func newSignCommand(dockerCli command.Cli) *cobra.Command { cmd := &cobra.Command{ - Use: "sign [OPTIONS] IMAGE:TAG", + Use: "sign IMAGE:TAG", Short: "Sign an image", Args: cli.ExactArgs(1), RunE: func(cmd *cobra.Command, args []string) error { diff --git a/cli/command/trust/view.go b/cli/command/trust/view.go index 18d07585eb..bdc870d578 100644 --- a/cli/command/trust/view.go +++ b/cli/command/trust/view.go @@ -49,7 +49,7 @@ func (tagComparator trustTagRowList) Swap(i, j int) { func newViewCommand(dockerCli command.Cli) *cobra.Command { cmd := &cobra.Command{ - Use: "view [OPTIONS] IMAGE[:TAG]", + Use: "view IMAGE[:TAG]", Short: "Display detailed information about keys and signatures", Args: cli.ExactArgs(1), RunE: func(cmd *cobra.Command, args []string) error { diff --git a/docs/reference/commandline/trust_sign.md b/docs/reference/commandline/trust_sign.md index c7e704ce8e..d3f22fdc12 100644 --- a/docs/reference/commandline/trust_sign.md +++ b/docs/reference/commandline/trust_sign.md @@ -16,7 +16,7 @@ keywords: "sign, notary, trust" # trust sign ```markdown -Usage: docker trust sign [OPTIONS] IMAGE:TAG +Usage: docker trust sign IMAGE:TAG Sign an image diff --git a/docs/reference/commandline/trust_view.md b/docs/reference/commandline/trust_view.md index beebf10e06..9743272bf2 100644 --- a/docs/reference/commandline/trust_view.md +++ b/docs/reference/commandline/trust_view.md @@ -16,7 +16,7 @@ keywords: "view, notary, trust" # trust view ```markdown -Usage: docker trust view [OPTIONS] IMAGE[:TAG] +Usage: docker trust view IMAGE[:TAG] Display detailed information about keys and signatures