Skip to content

Commit

Permalink
Format.PROTO is now the default value for all AbstractCottontailComma…
Browse files Browse the repository at this point in the history
…nd.Query. Fixes #106
  • Loading branch information
ppanopticon committed Apr 11, 2022
1 parent d447caf commit e502ac6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ sealed class AbstractCottontailCommand(name: String, help: String, val expand: B
private val format: Format? by option(
"-f",
"--format",
help = "Only for option --out; export format. Defaults to PROTO"
).convert { Format.valueOf(it) }
help = "Only for option --out; export format. Defaults to PROTO."
).convert { Format.valueOf(it) }.default(Format.PROTO)

/** Flag indicating, whether query should written to file or console. */
protected val toFile: Boolean
Expand Down

0 comments on commit e502ac6

Please sign in to comment.