Merge pull request #754 from cli/long-from

spell out PR text
This commit is contained in:
Mislav Marohnić 2020-04-07 11:13:39 +02:00 committed by GitHub
commit c0c28622bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -123,7 +123,7 @@ var prCheckoutCmd = &cobra.Command{
Short: "Check out a pull request in Git",
Args: func(cmd *cobra.Command, args []string) error {
if len(args) < 1 {
return errors.New("requires a PR number as an argument")
return errors.New("requires a pull request number as an argument")
}
return nil
},

View file

@ -51,7 +51,7 @@ A repository can be supplied as an argument in any of the following formats:
}
var repoCloneCmd = &cobra.Command{
Use: "clone <repo> [<directory>]",
Use: "clone <repository> [<directory>]",
Args: cobra.MinimumNArgs(1),
Short: "Clone a repository locally",
Long: `Clone a GitHub repository locally.