Skip to content

Commit

Permalink
fix: mark --oci-layout-path as experimental (#1607)
Browse files Browse the repository at this point in the history
Signed-off-by: Horiodino <holiodin@gmail.com>
Co-authored-by: Terry Howe <terrylhowe@gmail.com>
  • Loading branch information
Horiodino and TerryHowe authored Jan 21, 2025
1 parent 26430ec commit ad8c845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/oras/internal/option/target.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func (opts *Target) AnnotatedReference() string {
func (opts *Target) applyFlagsWithPrefix(fs *pflag.FlagSet, prefix, description string) {
flagPrefix, notePrefix := applyPrefix(prefix, description)
fs.BoolVarP(&opts.IsOCILayout, flagPrefix+"oci-layout", "", false, "set "+notePrefix+"target as an OCI image layout")
fs.StringVar(&opts.Path, flagPrefix+"oci-layout-path", "", "set the path for the "+notePrefix+"OCI image layout target")
fs.StringVar(&opts.Path, flagPrefix+"oci-layout-path", "", "[Experimental] Set the path for the "+notePrefix+"OCI image layout target")
}

// ApplyFlagsWithPrefix applies flags to a command flag set with a prefix string.
Expand Down

0 comments on commit ad8c845

Please sign in to comment.