Skip to content

Commit

Permalink
tag: add command explanation to the long help (#1843)
Browse files Browse the repository at this point in the history
* tag: add command explanation to the long help

* Update crane_tag.md
  • Loading branch information
abitrolly committed Nov 10, 2023
1 parent c722ce9 commit 5a53a12
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/crane/cmd/tag.go
Expand Up @@ -24,7 +24,9 @@ func NewCmdTag(options *[]crane.Option) *cobra.Command {
return &cobra.Command{
Use: "tag IMG TAG",
Short: "Efficiently tag a remote image",
Long: `This differs slightly from the "copy" command in a couple subtle ways:
Long: `Tag remote image without downloading it.
This differs slightly from the "copy" command in a couple subtle ways:
1. You don't have to specify the entire repository for the tag you're adding. For example, these two commands are functionally equivalent:
` + "```" + `
Expand Down
2 changes: 2 additions & 0 deletions cmd/crane/doc/crane_tag.md

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

0 comments on commit 5a53a12

Please sign in to comment.