Skip to content

Commit

Permalink
Merge branch 'releases' into release/v1.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ZenGround0 committed Feb 28, 2022
2 parents b8eb4dd + 6347daf commit 992a016
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions cmd/lotus-miner/sectors.go
Original file line number Diff line number Diff line change
Expand Up @@ -1525,6 +1525,12 @@ var sectorsSnapAbortCmd = &cli.Command{
Name: "abort-upgrade",
Usage: "Abort the attempted (SnapDeals) upgrade of a CC sector, reverting it to as before",
ArgsUsage: "<sectorNum>",
Flags: []cli.Flag{
&cli.BoolFlag{
Name: "really-do-it",
Usage: "pass this flag if you know what you are doing",
},
},
Action: func(cctx *cli.Context) error {
if cctx.Args().Len() != 1 {
return lcli.ShowHelp(cctx, xerrors.Errorf("must pass sector number"))
Expand Down
3 changes: 2 additions & 1 deletion documentation/en/cli-lotus-miner.md
Original file line number Diff line number Diff line change
Expand Up @@ -1825,7 +1825,8 @@ USAGE:
lotus-miner sectors abort-upgrade [command options] <sectorNum>
OPTIONS:
--help, -h show help (default: false)
--really-do-it pass this flag if you know what you are doing (default: false)
--help, -h show help (default: false)
```

Expand Down

0 comments on commit 992a016

Please sign in to comment.