Skip to content

Commit

Permalink
fix stringarray vs stringslice flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sduchesneau committed Dec 6, 2024
1 parent b0c94f5 commit dd00b7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/purger/purger.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func init() {
rootCmd.AddCommand(oldCmd)
rootCmd.AddCommand(poisonedCmd)
rootCmd.PersistentFlags().String("project", "dfuseio-global", "requester-pay project name")
rootCmd.PersistentFlags().StringArray("network", []string{"sol-mainnet"}, "specify one or more networks")
rootCmd.PersistentFlags().StringSlice("network", []string{"sol-mainnet"}, "specify one or more networks")
rootCmd.PersistentFlags().Bool("force", false, "force pruning (skip confirmation)")

oldCmd.Flags().String("database-dsn", "postgres://localhost:5432/postgres?enable_incremental_sort=off&sslmode=disable", "Database DSN")
Expand Down

0 comments on commit dd00b7e

Please sign in to comment.