From 44c9e7e664170bdd45fb031a1f34af8eec3e6ada Mon Sep 17 00:00:00 2001 From: kellya Date: Tue, 1 Feb 2022 07:11:37 +0800 Subject: [PATCH] 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 Reviewed-on: https://gitea.com/gitea/tea/pulls/453 Reviewed-by: Norwin Reviewed-by: 6543 <6543@obermui.de> Co-authored-by: kellya Co-committed-by: kellya --- cmd/flags/issue_pr.go | 2 +- cmd/issues.go | 2 +- cmd/pulls.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/flags/issue_pr.go b/cmd/flags/issue_pr.go index 71d1e0a..7f4a514 100644 --- a/cmd/flags/issue_pr.go +++ b/cmd/flags/issue_pr.go @@ -48,7 +48,7 @@ var IssueListingFlags = append([]cli.Flag{ &cli.StringFlag{ Name: "kind", 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", }, &cli.StringFlag{ diff --git a/cmd/issues.go b/cmd/issues.go index 658f98d..3648e4f 100644 --- a/cmd/issues.go +++ b/cmd/issues.go @@ -34,7 +34,7 @@ var CmdIssues = cli.Command{ Flags: append([]cli.Flag{ &cli.BoolFlag{ 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...), } diff --git a/cmd/pulls.go b/cmd/pulls.go index 8cb3a85..76dd842 100644 --- a/cmd/pulls.go +++ b/cmd/pulls.go @@ -30,7 +30,7 @@ var CmdPulls = cli.Command{ Flags: append([]cli.Flag{ &cli.BoolFlag{ 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...), Subcommands: []*cli.Command{