diff --git a/cmd/oras/root/cp.go b/cmd/oras/root/cp.go index 7cec065a4..caa73f65d 100644 --- a/cmd/oras/root/cp.go +++ b/cmd/oras/root/cp.go @@ -23,6 +23,8 @@ import ( "strings" "sync" + "oras.land/oras/cmd/oras/internal/display/status" + "github.com/opencontainers/go-digest" ocispec "github.com/opencontainers/image-spec/specs-go/v1" "github.com/spf13/cobra" @@ -58,7 +60,7 @@ func copyCmd() *cobra.Command { Use: "cp [flags] {:|@} [:[,][...]]", 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