Skip to content

Commit

Permalink
Merge pull request #5999 from filecoin-project/asr/nits
Browse files Browse the repository at this point in the history
Add description to the client deal CLI command
  • Loading branch information
magik6k authored Apr 9, 2021
2 parents 8a19ddb + 18d40e6 commit 44fee61
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions cli/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 <miner address>'.
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{
Expand Down

0 comments on commit 44fee61

Please sign in to comment.