From 7f8c8c7aa9cf86f994634f9fd9851e02ff7bad16 Mon Sep 17 00:00:00 2001 From: Zach Moazeni Date: Fri, 17 May 2019 13:16:31 -0400 Subject: [PATCH] Drop redundant newline --- go/logic/server.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/go/logic/server.go b/go/logic/server.go index 774c4ab..bc36879 100644 --- a/go/logic/server.go +++ b/go/logic/server.go @@ -144,13 +144,13 @@ func (this *Server) applyServerCommand(command string, writer *bufio.Writer) (pr switch command { case "help": { - fmt.Fprintln(writer, `available commands: + fmt.Fprintf(writer, `available commands: status # Print a detailed status message sup # Print a short status message coordinates # Print the currently inspected coordinates chunk-size= # Set a new chunk-size dml-batch-size= # Set a new dml-batch-size -nice-ratio= # Set a new nice-ratio, immediate sleep after each row-copy operation, float (examples: 0 is aggressive, 0.7 adds 70% runtime, 1.0 doubles runtime, 2.0 triples runtime, ...) +nice-ratio= # Set a new nice-ratio, immediate sleep after each row-copy operation, float (examples: 0 is aggressive, 0.7 adds 70%% runtime, 1.0 doubles runtime, 2.0 triples runtime, ...) critical-load= # Set a new set of max-load thresholds max-lag-millis= # Set a new replication lag threshold replication-lag-query= # Set a new query that determines replication lag (no quotes) @@ -163,8 +163,7 @@ no-throttle # End forced throttling (other throttling m unpostpone # Bail out a cut-over postpone; proceed to cut-over panic # panic and quit without cleanup help # This message -- use '?' (question mark) as argument to get info rather than set. e.g. "max-load=?" will just print out current max-load. -`) +- use '?' (question mark) as argument to get info rather than set. e.g. "max-load=?" will just print out current max-load.\n\n`) } case "sup": return ForcePrintStatusOnlyRule, nil