Hide wait-quiet
cmd
Hide `wait-quiet` cmd
This commit is contained in:
parent
bf2ac13609
commit
ab6aaf5013
@ -1,6 +1,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
"golang.org/x/xerrors"
|
"golang.org/x/xerrors"
|
||||||
|
|
||||||
@ -35,9 +37,11 @@ var setCmd = &cli.Command{
|
|||||||
}
|
}
|
||||||
|
|
||||||
var waitQuietCmd = &cli.Command{
|
var waitQuietCmd = &cli.Command{
|
||||||
Name: "wait-quiet",
|
Name: "wait-quiet",
|
||||||
Usage: "Block until all running tasks exit",
|
Usage: "Block until all running tasks exit",
|
||||||
|
Hidden: true,
|
||||||
Action: func(cctx *cli.Context) error {
|
Action: func(cctx *cli.Context) error {
|
||||||
|
fmt.Println("DEPRECATED: This command will be removed in the future")
|
||||||
api, closer, err := lcli.GetWorkerAPI(cctx)
|
api, closer, err := lcli.GetWorkerAPI(cctx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
@ -10,15 +10,14 @@ VERSION:
|
|||||||
1.21.0-dev
|
1.21.0-dev
|
||||||
|
|
||||||
COMMANDS:
|
COMMANDS:
|
||||||
run Start lotus worker
|
run Start lotus worker
|
||||||
stop Stop a running lotus worker
|
stop Stop a running lotus worker
|
||||||
info Print worker info
|
info Print worker info
|
||||||
storage manage sector storage
|
storage manage sector storage
|
||||||
set Manage worker settings
|
set Manage worker settings
|
||||||
wait-quiet Block until all running tasks exit
|
resources Manage resource table overrides
|
||||||
resources Manage resource table overrides
|
tasks Manage task processing
|
||||||
tasks Manage task processing
|
help, h Shows a list of commands or help for one command
|
||||||
help, h Shows a list of commands or help for one command
|
|
||||||
|
|
||||||
GLOBAL OPTIONS:
|
GLOBAL OPTIONS:
|
||||||
--enable-gpu-proving enable use of GPU for mining operations (default: true) [$LOTUS_WORKER_ENABLE_GPU_PROVING]
|
--enable-gpu-proving enable use of GPU for mining operations (default: true) [$LOTUS_WORKER_ENABLE_GPU_PROVING]
|
||||||
@ -167,19 +166,6 @@ OPTIONS:
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## lotus-worker wait-quiet
|
|
||||||
```
|
|
||||||
NAME:
|
|
||||||
lotus-worker wait-quiet - Block until all running tasks exit
|
|
||||||
|
|
||||||
USAGE:
|
|
||||||
lotus-worker wait-quiet [command options] [arguments...]
|
|
||||||
|
|
||||||
OPTIONS:
|
|
||||||
--help, -h show help (default: false)
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
## lotus-worker resources
|
## lotus-worker resources
|
||||||
```
|
```
|
||||||
NAME:
|
NAME:
|
||||||
|
Loading…
Reference in New Issue
Block a user