Skip to content

Commit

Permalink
cmd: update clean command help (#1058)
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
  • Loading branch information
cpanato committed Nov 16, 2021
1 parent bada59e commit c5e3393
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions cmd/cosign/cli/clean.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ func Clean() *cobra.Command {
o := &options.RegistryOptions{}

cmd := &cobra.Command{
Use: "clean",
Short: "Remove all signatures from an image.\ncosign clean <image uri>",
Long: "Remove all signatures from an image.",
Args: cobra.ExactArgs(1),
Use: "clean",
Short: "Remove all signatures from an image.",
Example: " cosign clean <IMAGE>",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
return CleanCmd(cmd.Context(), *o, args[0])
},
Expand Down
1 change: 0 additions & 1 deletion doc/cosign.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions doc/cosign_clean.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c5e3393

Please sign in to comment.