Skip to content

Commit

Permalink
docs: improve the description of cp (#1498)
Browse files Browse the repository at this point in the history
Signed-off-by: Xiaoxuan Wang <[email protected]>
Signed-off-by: Billy Zha <[email protected]>
  • Loading branch information
qweeah committed Dec 5, 2024
1 parent 3bf29ce commit 5be0371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/oras/root/cp.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func copyCmd() *cobra.Command {
Use: "cp [flags] <from>{:<tag>|@<digest>} <to>[:<tag>[,<tag>][...]]",
Aliases: []string{"copy"},
Short: "Copy artifacts from one target to another",
Long: `Copy artifacts from one target to another
Long: `Copy artifacts from one target to another. When copying an image index, all of its manifests will be copied
Example - Copy an artifact between registries:
oras cp localhost:5000/net-monitor:v1 localhost:6000/net-monitor-copy:v1
Expand Down

0 comments on commit 5be0371

Please sign in to comment.