Skip to content

Commit

Permalink
#4911: use ledger backend enum names for command help, review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
sreuland committed Jul 16, 2024
1 parent 96284d0 commit 8d543ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion services/horizon/cmd/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,9 @@ func ingestRangeCmdOpts() support.ConfigOptions {
OptType: types.String,
Required: false,
FlagDefault: ingest.CaptiveCoreBackend.String(),
Usage: "[optional] Specify the ledger backend type: 'captive-core' (default) or 'datastore'",
Usage: fmt.Sprintf("[optional] Specify the ledger backend type: '%s' (default) or '%s'",
ingest.CaptiveCoreBackend.String(),
ingest.BufferedStorageBackend.String()),
CustomSetValue: func(co *support.ConfigOption) error {
val := viper.GetString(co.Name)
switch val {
Expand Down

0 comments on commit 8d543ba

Please sign in to comment.