Skip to content

Commit 3e1020d

Browse files
chore: update pruning CLI help info
Signed-off-by: jonathansumner <[email protected]>
1 parent 5fff09c commit 3e1020d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/pruning/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ func PruningCmd(appCreator servertypes.AppCreator) *cobra.Command {
2727
Use: "prune",
2828
Short: "Prune app history states by keeping the recent heights and deleting old heights",
2929
Long: `Prune app history states by keeping the recent heights and deleting old heights.
30-
The pruning option is provided via the '--pruning' flag or alternatively with '--pruning-keep-recent'
30+
The pruning strategy is provided via the '--pruning' flag or alternatively with '--pruning-keep-recent'
3131
3232
For '--pruning' the options are as follows:
3333
3434
default: the last 362880 states are kept
3535
nothing: all historic states will be saved, nothing will be deleted (i.e. archiving node)
3636
everything: 2 latest states will be kept
37-
custom: allow pruning options to be manually specified through 'pruning-keep-recent'.
37+
custom: allow pruning options to be manually specified through the 'app.toml' config file or through CLI flags.
3838
besides pruning options, database home directory and database backend type should also be specified via flags
3939
'--home' and '--app-db-backend'.
4040
valid app-db-backend type includes 'goleveldb', 'cleveldb', 'rocksdb', 'boltdb', and 'badgerdb'.

0 commit comments

Comments
 (0)