Skip to content

Commit 5a53a12

Browse files
authored
tag: add command explanation to the long help (#1843)
* tag: add command explanation to the long help * Update crane_tag.md
1 parent c722ce9 commit 5a53a12

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

cmd/crane/cmd/tag.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ func NewCmdTag(options *[]crane.Option) *cobra.Command {
2424
return &cobra.Command{
2525
Use: "tag IMG TAG",
2626
Short: "Efficiently tag a remote image",
27-
Long: `This differs slightly from the "copy" command in a couple subtle ways:
27+
Long: `Tag remote image without downloading it.
28+
29+
This differs slightly from the "copy" command in a couple subtle ways:
2830
2931
1. You don't have to specify the entire repository for the tag you're adding. For example, these two commands are functionally equivalent:
3032
` + "```" + `

cmd/crane/doc/crane_tag.md

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)