summaryrefslogtreecommitdiff
path: root/cmd/dserver
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/dserver')
-rw-r--r--cmd/dserver/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/dserver/main.go b/cmd/dserver/main.go
index 5993481..5f72cb8 100644
--- a/cmd/dserver/main.go
+++ b/cmd/dserver/main.go
@@ -42,11 +42,12 @@ func main() {
flag.Parse()
config.Read(cfgFile, sshPort)
- config.Client.TermColorsEnabled = color
+ config.Client.TermColorsEnable = color
if displayVersion {
version.PrintAndExit()
}
+ version.Print()
ctx, cancel := context.WithCancel(context.Background())
if shutdownAfter > 0 {