From a9ace7fd46eb39db79a1e0fc685892bc21853ba2 Mon Sep 17 00:00:00 2001 From: Oliver Tan Date: Tue, 27 Apr 2021 22:33:41 +1000 Subject: [PATCH] cli: add startup text on cockroach demo --global Release note (cli change): There will now be a message upon start-up on cockroach demo --global indicating latencies between nodes will simulate real world latencies. --- pkg/cli/demo.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/cli/demo.go b/pkg/cli/demo.go index d28a8d67e821..bc7265087bed 100644 --- a/pkg/cli/demo.go +++ b/pkg/cli/demo.go @@ -301,7 +301,10 @@ func runDemo(cmd *cobra.Command, gen workload.Generator) (err error) { if demoCtx.simulateLatency { printfUnlessEmbedded( - "#\n# WARNING: the use of --%s is experimental. Some features may not work as expected.\n", + `# Communication between nodes will simulate real world latencies. +# +# WARNING: the use of --%s is experimental. Some features may not work as expected. +`, cliflags.Global.Name, ) }