From 686ada0582a30c19e9f185f9f97ade7bd6ad34aa Mon Sep 17 00:00:00 2001 From: Rjan Date: Mon, 28 Feb 2022 15:19:53 +0100 Subject: [PATCH 1/2] Make `--lite` option visibile in the cli --- cmd/lotus/daemon.go | 1 - documentation/en/cli-lotus.md | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lotus/daemon.go b/cmd/lotus/daemon.go index 813a0a9bd9f..6c4ac2bcf0a 100644 --- a/cmd/lotus/daemon.go +++ b/cmd/lotus/daemon.go @@ -121,7 +121,6 @@ var DaemonCmd = &cli.Command{ &cli.BoolFlag{ Name: "lite", Usage: "start lotus in lite mode", - Hidden: true, }, &cli.StringFlag{ Name: "pprof", diff --git a/documentation/en/cli-lotus.md b/documentation/en/cli-lotus.md index 9a8ff028d50..5499459128a 100644 --- a/documentation/en/cli-lotus.md +++ b/documentation/en/cli-lotus.md @@ -63,6 +63,7 @@ OPTIONS: --import-chain value on first run, load chain from given file or url and validate --import-snapshot value import chain state from a given chain export file or url --halt-after-import halt the process after importing chain from file (default: false) + --lite start lotus in lite mode (default: false) --pprof value specify name of file for writing cpu profile to --profile value specify type of node --manage-fdlimit manage open file limit (default: true) From c9e2c1b1d763a249b4b83ce89ac5aa35f36510d2 Mon Sep 17 00:00:00 2001 From: Rjan Date: Mon, 28 Feb 2022 17:14:05 +0100 Subject: [PATCH 2/2] Make --lite --- cmd/lotus/daemon.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/lotus/daemon.go b/cmd/lotus/daemon.go index 6c4ac2bcf0a..f285ba74e63 100644 --- a/cmd/lotus/daemon.go +++ b/cmd/lotus/daemon.go @@ -119,8 +119,8 @@ var DaemonCmd = &cli.Command{ Usage: "halt the process after importing chain from file", }, &cli.BoolFlag{ - Name: "lite", - Usage: "start lotus in lite mode", + Name: "lite", + Usage: "start lotus in lite mode", }, &cli.StringFlag{ Name: "pprof",