Correct spelling of "wether" to "whether" in usage output (#453)

Noticed "whether" misspelled as "wether" in the output of `tea issues --help` and corrected it in a few locations.

Co-authored-by: Alex Kelly <kellya@arachnitech.com>
Reviewed-on: https://gitea.com/gitea/tea/pulls/453
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: kellya <kellya@noreply.gitea.io>
Co-committed-by: kellya <kellya@noreply.gitea.io>
This commit is contained in:
kellya 2022-02-01 07:11:37 +08:00 committed by 6543
parent 268aa06179
commit 44c9e7e664
3 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ var IssueListingFlags = append([]cli.Flag{
&cli.StringFlag{ &cli.StringFlag{
Name: "kind", Name: "kind",
Aliases: []string{"K"}, Aliases: []string{"K"},
Usage: "Wether to return `issues`, `pulls`, or `all` (you can use this to apply advanced search filters to PRs)", Usage: "Whether to return `issues`, `pulls`, or `all` (you can use this to apply advanced search filters to PRs)",
DefaultText: "issues", DefaultText: "issues",
}, },
&cli.StringFlag{ &cli.StringFlag{

View File

@ -34,7 +34,7 @@ var CmdIssues = cli.Command{
Flags: append([]cli.Flag{ Flags: append([]cli.Flag{
&cli.BoolFlag{ &cli.BoolFlag{
Name: "comments", Name: "comments",
Usage: "Wether to display comments (will prompt if not provided & run interactively)", Usage: "Whether to display comments (will prompt if not provided & run interactively)",
}, },
}, issues.CmdIssuesList.Flags...), }, issues.CmdIssuesList.Flags...),
} }

View File

@ -30,7 +30,7 @@ var CmdPulls = cli.Command{
Flags: append([]cli.Flag{ Flags: append([]cli.Flag{
&cli.BoolFlag{ &cli.BoolFlag{
Name: "comments", Name: "comments",
Usage: "Wether to display comments (will prompt if not provided & run interactively)", Usage: "Whether to display comments (will prompt if not provided & run interactively)",
}, },
}, pulls.CmdPullsList.Flags...), }, pulls.CmdPullsList.Flags...),
Subcommands: []*cli.Command{ Subcommands: []*cli.Command{