From 58ed448f8d4ca990052a7dac2b614d3f705e4a61 Mon Sep 17 00:00:00 2001 From: Ekaterina Pavlova Date: Fri, 15 Nov 2024 15:35:37 +0300 Subject: [PATCH 1/2] cli: add debug mode to `upload-bin` command Signed-off-by: Ekaterina Pavlova --- cli/util/convert.go | 3 ++- cli/util/upload_bin.go | 47 ++++++++++++++++++++++++++------------ docs/neofs-blockstorage.md | 3 ++- 3 files changed, 36 insertions(+), 17 deletions(-) diff --git a/cli/util/convert.go b/cli/util/convert.go index 5c5a7e707..af963d9e7 100644 --- a/cli/util/convert.go +++ b/cli/util/convert.go @@ -101,6 +101,7 @@ func NewCommands() []*cli.Command { return nil }, }, + options.Debug, }, options.RPC...) uploadBinFlags = append(uploadBinFlags, options.Wallet...) return []*cli.Command{ @@ -183,7 +184,7 @@ func NewCommands() []*cli.Command { { Name: "upload-bin", Usage: "Fetch blocks from RPC node and upload them to the NeoFS container", - UsageText: "neo-go util upload-bin --fs-rpc-endpoint [,[...]] --container --block-attribute block --index-attribute index --rpc-endpoint [--timeout