summaryrefslogtreecommitdiff
path: root/cmd/dgrep
diff options
context:
space:
mode:
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{