diff --git a/cmd/oci-image-tool/create.go b/cmd/oci-image-tool/create.go index a995ac7..d1a9e48 100644 --- a/cmd/oci-image-tool/create.go +++ b/cmd/oci-image-tool/create.go @@ -81,7 +81,7 @@ var createCommand = cli.Command{ cli.StringFlag{ Name: "type", Usage: fmt.Sprintf( - `Type of the file to unpack. If unset, oci-image-tool-validate will try to auto-detect the type. One of "%s".`, + `Type of the file to unpack. If unset, oci-image-tool will try to auto-detect the type. One of "%s".`, strings.Join(bundleTypes, ","), ), }, diff --git a/cmd/oci-image-tool/unpack.go b/cmd/oci-image-tool/unpack.go index ac18921..7144dd2 100644 --- a/cmd/oci-image-tool/unpack.go +++ b/cmd/oci-image-tool/unpack.go @@ -77,7 +77,7 @@ var unpackCommand = cli.Command{ cli.StringFlag{ Name: "type", Usage: fmt.Sprintf( - `Type of the file to unpack. If unset, oci-image-tool-validate will try to auto-detect the type. One of "%s".`, + `Type of the file to unpack. If unset, oci-image-tool will try to auto-detect the type. One of "%s".`, strings.Join(unpackTypes, ","), ), }, diff --git a/cmd/oci-image-tool/validate.go b/cmd/oci-image-tool/validate.go index a0f9a32..aea74a1 100644 --- a/cmd/oci-image-tool/validate.go +++ b/cmd/oci-image-tool/validate.go @@ -134,7 +134,7 @@ var validateCommand = cli.Command{ cli.StringFlag{ Name: "type", Usage: fmt.Sprintf( - `Type of the file to validate. If unset, oci-image-tool-validate will try to auto-detect the type. One of "%s".`, + `Type of the file to validate. If unset, oci-image-tool will try to auto-detect the type. One of "%s".`, strings.Join(validateTypes, ","), ), },