From f064bda5eac0730407165e214f9fbf02376913aa Mon Sep 17 00:00:00 2001 From: bagtoad <47394200+BagToad@users.noreply.github.com> Date: Wed, 9 Oct 2024 21:10:35 -0600 Subject: [PATCH] Add `Long` for license list indicating limitations --- pkg/cmd/repo/license/list/list.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkg/cmd/repo/license/list/list.go b/pkg/cmd/repo/license/list/list.go index 6fc7f40d6..74048c109 100644 --- a/pkg/cmd/repo/license/list/list.go +++ b/pkg/cmd/repo/license/list/list.go @@ -4,6 +4,7 @@ import ( "fmt" "net/http" + "github.com/MakeNowJust/heredoc" "github.com/cli/cli/v2/api" "github.com/cli/cli/v2/internal/gh" "github.com/cli/cli/v2/internal/tableprinter" @@ -26,8 +27,13 @@ func NewCmdList(f *cmdutil.Factory, runF func(*ListOptions) error) *cobra.Comman } cmd := &cobra.Command{ - Use: "list", - Short: "List available repository license templates", + Use: "list", + Short: "List available repository license templates", + Long: heredoc.Doc(` + List available repository license templates. + + Only the most commonly used licenses templates are returned. For even more licenses, visit + `), Aliases: []string{"ls"}, Args: cmdutil.ExactArgs(0, "gh repo license list takes no arguments"), RunE: func(cmd *cobra.Command, args []string) error {