diff --git a/cmd/oras/blob/push.go b/cmd/oras/blob/push.go index ef6353488..f0f9537d4 100644 --- a/cmd/oras/blob/push.go +++ b/cmd/oras/blob/push.go @@ -89,7 +89,7 @@ Example - Push blob without TLS: } cmd.Flags().Int64VarP(&opts.size, "size", "", -1, "provide the blob size") - cmd.Flags().StringVarP(&opts.mediaType, "media-type", "", ocispec.MediaTypeImageLayer, "specify the returned media type in the descriptor if `--descriptor` is used") + cmd.Flags().StringVarP(&opts.mediaType, "media-type", "", ocispec.MediaTypeImageLayer, "specify the returned media type in the descriptor if --descriptor is used") option.ApplyFlags(&opts, cmd.Flags()) return cmd }