diff --git a/CHANGELOG.md b/CHANGELOG.md index b401d3176e..fc24854cb3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ Changelog for NeoFS Node ### Added - Initial support for meta-on-chain for objects (#2877) +- First split-object part into the CLI output (#3064) ### Fixed - `neofs-cli object delete` command output (#3056) diff --git a/cmd/neofs-cli/modules/object/range.go b/cmd/neofs-cli/modules/object/range.go index b5b3aabcb1..c028bd00cd 100644 --- a/cmd/neofs-cli/modules/object/range.go +++ b/cmd/neofs-cli/modules/object/range.go @@ -169,6 +169,9 @@ func marshalSplitInfo(cmd *cobra.Command, info *object.SplitInfo) ([]byte, error if link := info.GetLink(); !link.IsZero() { b.WriteString("Linking object: " + link.String() + "\n") } + if first := info.GetFirstPart(); !first.IsZero() { + b.WriteString("First object: " + first.String() + "\n") + } if last := info.GetLastPart(); !last.IsZero() { b.WriteString("Last object: " + last.String() + "\n") }