From 10882e3fc79f93e4fd50afdb0b5063df8532a6d3 Mon Sep 17 00:00:00 2001 From: Luca Rossetto Date: Sat, 1 Jun 2024 14:10:54 +0200 Subject: [PATCH] Minor fix in schema dump command --- .../org/vitrivr/cottontail/cli/schema/DumpSchemaCommand.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cottontaildb-cli/src/main/kotlin/org/vitrivr/cottontail/cli/schema/DumpSchemaCommand.kt b/cottontaildb-cli/src/main/kotlin/org/vitrivr/cottontail/cli/schema/DumpSchemaCommand.kt index a1612215a..515dd861c 100644 --- a/cottontaildb-cli/src/main/kotlin/org/vitrivr/cottontail/cli/schema/DumpSchemaCommand.kt +++ b/cottontaildb-cli/src/main/kotlin/org/vitrivr/cottontail/cli/schema/DumpSchemaCommand.kt @@ -46,7 +46,7 @@ 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. */ @@ -54,7 +54,7 @@ class DumpSchemaCommand(client: SimpleClient) : AbstractSchemaCommand( "-c", "--compress", help = "Whether export should be compressed)" - ).flag(default = true) + ).flag(default = false) override fun exec() { val dumper = if (this.compress) {