fix(cli): improve prune command ux (#16856)

This commit is contained in:
Julien Robert
2023-07-07 10:17:48 +00:00
committed by GitHub
parent bf7a298c2c
commit 317fb0b330
4 changed files with 35 additions and 28 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ func initRootCmd(rootCmd *cobra.Command, encodingConfig params.EncodingConfig, b
NewTestnetCmd(basicManager, banktypes.GenesisBalancesIterator{}),
debug.Cmd(),
confixcmd.ConfigCommand(),
pruning.Cmd(newApp),
pruning.Cmd(newApp, simapp.DefaultNodeHome),
snapshot.Cmd(newApp),
)
+1 -1
View File
@@ -214,7 +214,7 @@ func initRootCmd(
NewTestnetCmd(basicManager, banktypes.GenesisBalancesIterator{}),
debug.Cmd(),
confixcmd.ConfigCommand(),
pruning.Cmd(newApp),
pruning.Cmd(newApp, simapp.DefaultNodeHome),
snapshot.Cmd(newApp),
)