diff --git a/cmd/lotus-miner/sectors.go b/cmd/lotus-miner/sectors.go index a5ab14c821c..11fe1c354ed 100644 --- a/cmd/lotus-miner/sectors.go +++ b/cmd/lotus-miner/sectors.go @@ -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: "", + 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")) diff --git a/documentation/en/cli-lotus-miner.md b/documentation/en/cli-lotus-miner.md index bb95894018d..b842d0ac386 100644 --- a/documentation/en/cli-lotus-miner.md +++ b/documentation/en/cli-lotus-miner.md @@ -1757,7 +1757,8 @@ USAGE: lotus-miner sectors abort-upgrade [command options] 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) ```