Skip to content

Commit

Permalink
chore(cmd/stream): Default to snappy for compression flag. (#1610)
Browse files Browse the repository at this point in the history
The DefaultOptions already has snappy set to the default, so the stream
CLI tool aligns with that now.
  • Loading branch information
danielmai authored Dec 4, 2020
1 parent 74f2e02 commit 3782d88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion badger/cmd/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func init() {
streamCmd.Flags().IntVarP(&numVersions, "num_versions", "", 0,
"Option to configure the maximum number of versions per key. "+
"Values <= 0 will be considered to have the max number of versions.")
streamCmd.Flags().Uint32VarP(&compressionType, "compression", "", 0,
streamCmd.Flags().Uint32VarP(&compressionType, "compression", "", 1,
"Option to configure the compression type in output DB. "+
"0 to disable, 1 for Snappy, and 2 for ZSTD.")
streamCmd.Flags().StringVarP(&keyPath, "encryption-key-file", "e", "",
Expand Down

0 comments on commit 3782d88

Please sign in to comment.