summaryrefslogtreecommitdiff
path: root/cmd/dgrep
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2021-08-12 10:56:36 +0300
committerPaul Buetow <paul@buetow.org>2021-08-12 10:56:36 +0300
commit3cc8887885f24a3f0d607af24197bc364ab16b8d (patch)
tree48e85a54d3e4f6139001a58a3e57dd03b27c780a /cmd/dgrep
parent1e00c256842e125a865a6cc3f9aa70a1a498f6dc (diff)
add missing brush and also add color client configs plus jsonschema
Diffstat (limited to 'cmd/dgrep')
-rw-r--r--cmd/dgrep/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/dgrep/main.go b/cmd/dgrep/main.go
index 422bdd4..f32be34 100644
--- a/cmd/dgrep/main.go
+++ b/cmd/dgrep/main.go
@@ -46,12 +46,13 @@ func main() {
config.Read(cfgFile, sshPort)
if noColor {
- config.Client.TermColorsEnabled = false
+ config.Client.TermColorsEnable = false
}
if displayVersion {
version.PrintAndExit()
}
+ version.Print()
ctx := context.TODO()
logger.Start(ctx, logger.Modes{