Skip to content

Commit

Permalink
Minor fix in schema dump command
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaro committed Jun 1, 2024
1 parent 7f7dd9e commit 10882e3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ class DumpSchemaCommand(client: SimpleClient) : AbstractSchemaCommand(
private val batchSize: Int by option(
"-b",
"--batch",
help = "Export format. Defaults to CBOR."
help = "Batch size. Defaults to 100000"
).convert { it.toInt() }.default(100000)

/** Flag indicating whether output should be compressed. */
private val compress: Boolean by option(
"-c",
"--compress",
help = "Whether export should be compressed)"
).flag(default = true)
).flag(default = false)

override fun exec() {
val dumper = if (this.compress) {
Expand Down

0 comments on commit 10882e3

Please sign in to comment.