Merge pull request #2019 from chunqizhi/zcq
Add usage information for provingInfoCmd
This commit is contained in:
commit
50b04d6b2b
@ -16,6 +16,7 @@ import (
|
||||
|
||||
var provingCmd = &cli.Command{
|
||||
Name: "proving",
|
||||
Usage: "View proving information",
|
||||
Subcommands: []*cli.Command{
|
||||
provingInfoCmd,
|
||||
provingDeadlinesCmd,
|
||||
@ -24,6 +25,7 @@ var provingCmd = &cli.Command{
|
||||
|
||||
var provingInfoCmd = &cli.Command{
|
||||
Name: "info",
|
||||
Usage: "View current state information",
|
||||
Action: func(cctx *cli.Context) error {
|
||||
nodeApi, closer, err := lcli.GetStorageMinerAPI(cctx)
|
||||
if err != nil {
|
||||
@ -146,6 +148,7 @@ func epochTime(curr, e abi.ChainEpoch) string {
|
||||
|
||||
var provingDeadlinesCmd = &cli.Command{
|
||||
Name: "deadlines",
|
||||
Usage: "View the current proving period deadlines information",
|
||||
Action: func(cctx *cli.Context) error {
|
||||
nodeApi, closer, err := lcli.GetStorageMinerAPI(cctx)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user