trust: remove extraneous OPTIONS from commands that do not use it

Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
This commit is contained in:
Riyaz Faizullabhoy 2017-09-26 16:15:45 -07:00
parent 62d62ff513
commit 9ad0e8f223
4 changed files with 4 additions and 4 deletions

View File

@ -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 {

View File

@ -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 {

View File

@ -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

View File

@ -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