diff --git a/cli/client.go b/cli/client.go index a2f89f0d9..ebcf9a56b 100644 --- a/cli/client.go +++ b/cli/client.go @@ -385,8 +385,8 @@ var clientRetrieveCmd = &cli.Command{ ArgsUsage: "[dataCid outputPath]", Flags: []cli.Flag{ &cli.StringFlag{ - Name: "address", - Usage: "address to use for transactions", + Name: "from", + Usage: "address to send transactions from", }, &cli.BoolFlag{ Name: "car", @@ -411,8 +411,8 @@ var clientRetrieveCmd = &cli.Command{ ctx := ReqContext(cctx) var payer address.Address - if cctx.String("address") != "" { - payer, err = address.NewFromString(cctx.String("address")) + if cctx.String("from") != "" { + payer, err = address.NewFromString(cctx.String("from")) } else { payer, err = fapi.WalletDefaultAddress(ctx) } @@ -498,7 +498,7 @@ var clientQueryAskCmd = &cli.Command{ }, Action: func(cctx *cli.Context) error { if cctx.NArg() != 1 { - fmt.Println("Usage: query-ask [address]") + fmt.Println("Usage: query-ask [minerAddress]") return nil } diff --git a/cli/multisig.go b/cli/multisig.go index 15910b099..9de881d95 100644 --- a/cli/multisig.go +++ b/cli/multisig.go @@ -58,7 +58,7 @@ var msigCreateCmd = &cli.Command{ Value: "0", }, &cli.StringFlag{ - Name: "sender", + Name: "from", Usage: "account to send the create message from", }, }, @@ -85,7 +85,7 @@ var msigCreateCmd = &cli.Command{ // get the address we're going to use to create the multisig (can be one of the above, as long as they have funds) var sendAddr address.Address - if send := cctx.String("sender"); send == "" { + if send := cctx.String("from"); send == "" { defaddr, err := api.WalletDefaultAddress(ctx) if err != nil { return err diff --git a/cli/state.go b/cli/state.go index dfe0118ca..da4a201d5 100644 --- a/cli/state.go +++ b/cli/state.go @@ -790,8 +790,8 @@ var stateComputeStateCmd = &cli.Command{ Usage: "Perform state computations", Flags: []cli.Flag{ &cli.Uint64Flag{ - Name: "height", - Usage: "set the height to compute state at", + Name: "vm-height", + Usage: "set the height that the vm will see", }, &cli.BoolFlag{ Name: "apply-mpool-messages", @@ -820,7 +820,7 @@ var stateComputeStateCmd = &cli.Command{ return err } - h := abi.ChainEpoch(cctx.Uint64("height")) + h := abi.ChainEpoch(cctx.Uint64("vm-height")) if h == 0 { if ts == nil { head, err := api.ChainHead(ctx)