Shorten description

This commit is contained in:
Michael Hoffman 2025-01-28 12:03:03 -05:00
parent 11ce0c661c
commit 58d84a4088

View file

@ -35,12 +35,8 @@ func NewCmdView(f *cmdutil.Factory, runF func(*viewOptions) error) *cobra.Comman
cmd := &cobra.Command{
Use: "view <id>",
Short: "View an autolink reference",
Long: heredoc.Docf(`
View an autolink reference for a repository.
Information about autolinks is only available to repository administrators.
`),
Args: cobra.ExactArgs(1),
Long: "View an autolink reference for a repository.",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
opts.BaseRepo = f.BaseRepo
httpClient, err := f.HttpClient()