diff --git a/internal/app/release_assets.go b/internal/app/release_assets.go index 50da5374..885517aa 100644 --- a/internal/app/release_assets.go +++ b/internal/app/release_assets.go @@ -25,7 +25,7 @@ func (a *application) releaseAssetCommand() *cobra.Command { group := &cobra.Command{ Use: "asset", Short: "Manage release assets", - Long: "List, upload, download, rename and delete the files attached to a release. Assets are named by name or ID.", + Long: "List, upload, download, rename and delete the files attached to a release. Assets are addressed by name or ID.", } group.AddCommand(a.assetListCommand(), a.releaseUploadCommand(), a.releaseDownloadCommand(), a.assetEditCommand(), a.assetDeleteCommand()) return group diff --git a/internal/app/teams.go b/internal/app/teams.go index d5d453a9..0fd982ba 100644 --- a/internal/app/teams.go +++ b/internal/app/teams.go @@ -658,7 +658,7 @@ func (a *application) teamRepoAccessCommand(grant bool) *cobra.Command { delete(annotations, "tea.confirm") } return &cobra.Command{ - Use: verb + " ...", Short: short, Args: usageArgs(cobra.MinimumNArgs(2)), Example: example, Annotations: annotations, + Use: verb + " ...", Short: short, Args: usageArgs(cobra.MinimumNArgs(2)), Example: example, Annotations: annotations, Long: short + ` of its organization. Name the repositories alone, such as service, or as ORG/NAME; repositories of other owners cannot be granted to a team.`, ValidArgsFunction: a.completeTeamThen(func(ctx context.Context, t target, team services.Team) ([]cobra.Completion, error) { @@ -671,7 +671,7 @@ repositories of other owners cannot be granted to a team.`, }), RunE: func(cmd *cobra.Command, args []string) error { if cmd.Flags().Changed("repo") { - return clierr.Wrap(clierr.Usage, fmt.Errorf("--repo is not used by %s; name the repositories as arguments: %s ", cmd.CommandPath(), cmd.CommandPath())) + return clierr.Wrap(clierr.Usage, fmt.Errorf("--repo is not used by %s; name the repositories as arguments: %s ", cmd.CommandPath(), cmd.CommandPath())) } _, service, team, err := a.team(cmd, args[0]) if err != nil {