Skip to content

Commit

Permalink
Update cmd/crane/cmd/catalog.go
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Hall <jason@chainguard.dev>
  • Loading branch information
brandtkeller and imjasonh committed Oct 24, 2022
1 parent bc03ddc commit ca480e8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/crane/cmd/catalog.go
Expand Up @@ -32,9 +32,7 @@ func NewCmdCatalog(options *[]crane.Option, argv ...string) *cobra.Command {

baseCmd := strings.Join(argv, " ")
eg := fmt.Sprintf(` # list the repos for reg.example.com
$ echo "reg.example.com" | %s catalog
# or
$ %s catalog reg.example.com`, baseCmd, baseCmd)
$ %s catalog reg.example.com`, baseCmd)

return &cobra.Command{
Use: "catalog [REGISTRY]",
Expand Down

0 comments on commit ca480e8

Please sign in to comment.