Skip to content

Commit

Permalink
improve prompt message
Browse files Browse the repository at this point in the history
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
  • Loading branch information
qweeah committed Mar 1, 2023
1 parent 407a658 commit 426813a
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 @@ -88,7 +88,7 @@ func (opts *Target) Parse() error {
case opts.isOCILayout:
opts.Type = TargetTypeOCILayout
if len(opts.headerFlags) != 0 {
return errors.New("customer header([--{from|to}]-header/H) cannot be used on OCI image layout target")
return errors.New("customer header flags cannot be used on an OCI image layout target")
}
return nil
default:
Expand Down

0 comments on commit 426813a

Please sign in to comment.