fix: spcli: add reference to the terminate command (#11851)

* fix: spcli: add reference to the terminate command

* make gen
This commit is contained in:
Łukasz Magiera 2024-04-10 23:59:23 +02:00 committed by GitHub
parent a67e7adf04
commit afa9032833
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 17 additions and 1 deletions

View File

@ -36,7 +36,7 @@ var sectorsCmd = &cli.Command{
spcli.SectorsCheckExpireCmd(SPTActorGetter), spcli.SectorsCheckExpireCmd(SPTActorGetter),
sectorsExpiredCmd, // in-house b/c chain-only is so different sectorsExpiredCmd, // in-house b/c chain-only is so different
spcli.SectorsExtendCmd(SPTActorGetter), spcli.SectorsExtendCmd(SPTActorGetter),
//spcli.SectorsTerminateCmd(SPTActorGetter), // Could not trace through the state-machine spcli.TerminateSectorCmd(SPTActorGetter),
spcli.SectorsCompactPartitionsCmd(SPTActorGetter), spcli.SectorsCompactPartitionsCmd(SPTActorGetter),
}} }}

View File

@ -275,6 +275,7 @@ COMMANDS:
check-expire Inspect expiring sectors check-expire Inspect expiring sectors
expired Get or cleanup expired sectors expired Get or cleanup expired sectors
extend Extend expiring sectors while not exceeding each sector's max life extend Extend expiring sectors while not exceeding each sector's max life
terminate Forcefully terminate a sector (WARNING: This means losing power and pay a one-time termination penalty(including collateral) for the terminated sector)
compact-partitions removes dead sectors from partitions and reduces the number of partitions used if possible compact-partitions removes dead sectors from partitions and reduces the number of partitions used if possible
help, h Shows a list of commands or help for one command help, h Shows a list of commands or help for one command
@ -372,6 +373,21 @@ OPTIONS:
--help, -h show help --help, -h show help
``` ```
### sptool sectors terminate
```
NAME:
sptool sectors terminate - Forcefully terminate a sector (WARNING: This means losing power and pay a one-time termination penalty(including collateral) for the terminated sector)
USAGE:
sptool sectors terminate [command options] [sectorNum1 sectorNum2 ...]
OPTIONS:
--actor value specify the address of miner actor
--really-do-it pass this flag if you know what you are doing (default: false)
--from value specify the address to send the terminate message from
--help, -h show help
```
### sptool sectors compact-partitions ### sptool sectors compact-partitions
``` ```
NAME: NAME: