Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tag: add command explanation to the long help #1843

Merged
merged 2 commits into from
Nov 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion cmd/crane/cmd/tag.go
Original file line number Diff line number Diff line change
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.

Loading