cli: fix dump command help, fix #3498

Signed-off-by: Roman Khimov <roman@nspcc.ru>
This commit is contained in:
Roman Khimov 2024-07-26 16:52:00 +03:00
parent f0ae14e4db
commit c4453a2a3f

View file

@ -100,7 +100,7 @@ func NewCommands() []*cli.Command {
Subcommands: []*cli.Command{ Subcommands: []*cli.Command{
{ {
Name: "dump", Name: "dump",
Usage: "Dump blocks (starting with block #1) to the file", Usage: "Dump blocks (starting with the genesis or specified block) to the file",
UsageText: "neo-go db dump [-o file] [-s start] [-c count] [--config-path path] [-p/-m/-t] [--config-file file]", UsageText: "neo-go db dump [-o file] [-s start] [-c count] [--config-path path] [-p/-m/-t] [--config-file file]",
Action: dumpDB, Action: dumpDB,
Flags: cfgCountOutFlags, Flags: cfgCountOutFlags,