From 175da0f58ae622d8290d7a95218ef1fbd8019fba Mon Sep 17 00:00:00 2001 From: Peter Benjamin Date: Tue, 2 Nov 2021 10:30:49 -0700 Subject: [PATCH] Fix rendering issue in "formatting" help topic (#4661) Signed-off-by: Peter Benjamin --- pkg/cmd/root/help_topic.go | 44 ++++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/pkg/cmd/root/help_topic.go b/pkg/cmd/root/help_topic.go index ca39b6d2f..f94f577da 100644 --- a/pkg/cmd/root/help_topic.go +++ b/pkg/cmd/root/help_topic.go @@ -2,6 +2,7 @@ package root import ( "github.com/MakeNowJust/heredoc" + "github.com/cli/cli/v2/pkg/text" "github.com/spf13/cobra" ) @@ -104,31 +105,32 @@ var HelpTopics = map[string]map[string]string{ - %[1]stimeago