From 71e431af2e65196ad4e7bc3404e772b1726d3338 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 10 Mar 2026 20:01:15 +0200 Subject: Introduce client runtime boundaries --- cmd/dmap/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmd/dmap/main.go') diff --git a/cmd/dmap/main.go b/cmd/dmap/main.go index 33ace65..e6665ee 100644 --- a/cmd/dmap/main.go +++ b/cmd/dmap/main.go @@ -60,7 +60,8 @@ func main() { config.Setup(source.Client, &args, flag.Args()) if displayVersion { - version.PrintAndExit() + runtimeCfg := config.CurrentRuntime() + version.PrintAndExit(runtimeCfg.Client != nil && runtimeCfg.Client.TermColorsEnable) } runtime := cli.NewClientRuntime(context.Background(), profileFlags, "dmap") -- cgit v1.2.3