Skip to content

Commit 2c4fef6

Browse files
author
Ma Shimiao
committed
fix help info for --type option
oci-image-tool-validate is not correct any more, fix it. Signed-off-by: Ma Shimiao <[email protected]>
1 parent 749082e commit 2c4fef6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmd/oci-image-tool/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ var createCommand = cli.Command{
8181
cli.StringFlag{
8282
Name: "type",
8383
Usage: fmt.Sprintf(
84-
`Type of the file to unpack. If unset, oci-image-tool-validate will try to auto-detect the type. One of "%s".`,
84+
`Type of the file to unpack. If unset, oci-image-tool will try to auto-detect the type. One of "%s".`,
8585
strings.Join(bundleTypes, ","),
8686
),
8787
},

cmd/oci-image-tool/unpack.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ var unpackCommand = cli.Command{
7777
cli.StringFlag{
7878
Name: "type",
7979
Usage: fmt.Sprintf(
80-
`Type of the file to unpack. If unset, oci-image-tool-validate will try to auto-detect the type. One of "%s".`,
80+
`Type of the file to unpack. If unset, oci-image-tool will try to auto-detect the type. One of "%s".`,
8181
strings.Join(unpackTypes, ","),
8282
),
8383
},

cmd/oci-image-tool/validate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ var validateCommand = cli.Command{
134134
cli.StringFlag{
135135
Name: "type",
136136
Usage: fmt.Sprintf(
137-
`Type of the file to validate. If unset, oci-image-tool-validate will try to auto-detect the type. One of "%s".`,
137+
`Type of the file to validate. If unset, oci-image-tool will try to auto-detect the type. One of "%s".`,
138138
strings.Join(validateTypes, ","),
139139
),
140140
},

0 commit comments

Comments
 (0)