add the new subcommand

This commit is contained in:
LexLuthr 2022-05-13 00:02:17 +05:30
parent 7e492f23b1
commit 4326fc370b

View File

@ -19,6 +19,7 @@ var dagstoreCmd = &cli.Command{
Usage: "Manage the dagstore on the markets subsystem", Usage: "Manage the dagstore on the markets subsystem",
Subcommands: []*cli.Command{ Subcommands: []*cli.Command{
dagstoreListShardsCmd, dagstoreListShardsCmd,
dagstoreRegisterShardCmd,
dagstoreInitializeShardCmd, dagstoreInitializeShardCmd,
dagstoreRecoverShardCmd, dagstoreRecoverShardCmd,
dagstoreInitializeAllCmd, dagstoreInitializeAllCmd,
@ -61,7 +62,7 @@ var dagstoreListShardsCmd = &cli.Command{
var dagstoreRegisterShardCmd = &cli.Command{ var dagstoreRegisterShardCmd = &cli.Command{
Name: "register-shard", Name: "register-shard",
ArgsUsage: "[key/pieceCID]", ArgsUsage: "[key]",
Usage: "Register a shard", Usage: "Register a shard",
Flags: []cli.Flag{ Flags: []cli.Flag{
&cli.BoolFlag{ &cli.BoolFlag{