diff --git a/CHANGELOG.md b/CHANGELOG.md index aec948fcb..35d7abb5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ Changelog for NeoFS Node ## [Unreleased] ### Added +- `session` flag support to `neofs-cli object hash` (#2029) + ### Changed - `object lock` command reads CID and OID the same way other commands do (#1971) diff --git a/cmd/neofs-cli/modules/object/hash.go b/cmd/neofs-cli/modules/object/hash.go index 9ab76d3d1..6abda6cbb 100644 --- a/cmd/neofs-cli/modules/object/hash.go +++ b/cmd/neofs-cli/modules/object/hash.go @@ -32,6 +32,7 @@ var objectHashCmd = &cobra.Command{ func initObjectHashCmd() { commonflags.Init(objectHashCmd) + initFlagSession(objectHeadCmd, "RANGEHASH") flags := objectHashCmd.Flags()