summaryrefslogtreecommitdiff
path: root/cmd/dserver/main.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-10 20:01:15 +0200
committerPaul Buetow <paul@buetow.org>2026-03-10 20:01:15 +0200
commit71e431af2e65196ad4e7bc3404e772b1726d3338 (patch)
tree935e3b1af7c5b0033caf13ea00cf9655686b6ec9 /cmd/dserver/main.go
parentf6e23930da2900c43a5389a2e7d1e38d8221a76f (diff)
Introduce client runtime boundaries
Diffstat (limited to 'cmd/dserver/main.go')
-rw-r--r--cmd/dserver/main.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/dserver/main.go b/cmd/dserver/main.go
index 7c13b29..b7ad091 100644
--- a/cmd/dserver/main.go
+++ b/cmd/dserver/main.go
@@ -46,9 +46,10 @@ func main() {
config.Setup(source.Server, &args, flag.Args())
if displayVersion {
- version.PrintAndExit()
+ runtimeCfg := config.CurrentRuntime()
+ version.PrintAndExit(runtimeCfg.Client != nil && runtimeCfg.Client.TermColorsEnable)
}
- version.Print()
+ version.Print(false)
ctx, cancel := context.WithCancel(context.Background())
if shutdownAfter > 0 {