From 18d40e62f9bfc5773f16c92fc76fd3ae6671d6ad Mon Sep 17 00:00:00 2001 From: Aayush Rajasekaran Date: Fri, 9 Apr 2021 00:58:29 -0400 Subject: [PATCH] Add description to the client deal CLI command --- cli/client.go | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/cli/client.go b/cli/client.go index 347a09b5a43..8964ea0cdd5 100644 --- a/cli/client.go +++ b/cli/client.go @@ -301,8 +301,16 @@ var clientLocalCmd = &cli.Command{ } var clientDealCmd = &cli.Command{ - Name: "deal", - Usage: "Initialize storage deal with a miner", + Name: "deal", + Usage: "Initialize storage deal with a miner", + Description: `Make a deal with a miner. +dataCid comes from running 'lotus client import'. +miner is the address of the miner you wish to make a deal with. +price is measured in FIL/GB/Epoch. Miners usually don't accept a bid +lower than their advertised ask. You can check a miners listed price +with 'lotus client query-ask '. +duration is how long the miner should store the data for, in blocks. +The minimum value is 518400 (6 months).`, ArgsUsage: "[dataCid miner price duration]", Flags: []cli.Flag{ &cli.StringFlag{