add a usage text to import-data command

This commit is contained in:
whyrusleeping 2020-03-17 22:08:14 -07:00
parent 9e6ec71520
commit 66a950942e

View File

@ -46,8 +46,9 @@ var dealsCmd = &cli.Command{
} }
var dealsImportDataCmd = &cli.Command{ var dealsImportDataCmd = &cli.Command{
Name: "import-data", Name: "import-data",
Usage: "Manually import data for a deal", Usage: "Manually import data for a deal",
ArgsUsage: "<proposal CID> <file>",
Action: func(cctx *cli.Context) error { Action: func(cctx *cli.Context) error {
api, closer, err := lcli.GetStorageMinerAPI(cctx) api, closer, err := lcli.GetStorageMinerAPI(cctx)
if err != nil { if err != nil {