add godoc into GetPruningOptionsFromFlags
This commit is contained in:
parent
9aeefa77d3
commit
0c3117b3c7
@ -5,6 +5,7 @@ import (
|
||||
"github.com/spf13/viper"
|
||||
)
|
||||
|
||||
//GetPruningOptionsFromFlags parses start command flags and returns the correct PruningOptions.
|
||||
func GetPruningOptionsFromFlags() store.PruningOptions {
|
||||
if viper.IsSet(flagPruning) {
|
||||
return store.NewPruningOptionsFromString(viper.GetString(flagPruning))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user