From b4120bbb25eca3de22b3f0d82aca42d692013164 Mon Sep 17 00:00:00 2001 From: Ketan Gangatirkar <33678+ketang@users.noreply.github.com> Date: Sun, 3 Jul 2022 19:47:54 +0000 Subject: [PATCH 1/3] fix CLI help text for logout "log out" is verb, "logout" is a noun --- cli/logout.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/logout.go b/cli/logout.go index 90b7f8f3d653c..1860d976734a0 100644 --- a/cli/logout.go +++ b/cli/logout.go @@ -26,7 +26,7 @@ func logout() *cobra.Command { config := createConfig(cmd) _, err = cliui.Prompt(cmd, cliui.PromptOptions{ - Text: "Are you sure you want to logout?", + Text: "Are you sure you want to log out?", IsConfirm: true, Default: "yes", }) From eb94a30cecd0a233a307ed6a7b3a43740967c0a8 Mon Sep 17 00:00:00 2001 From: Ketan Gangatirkar <33678+ketang@users.noreply.github.com> Date: Sun, 3 Jul 2022 19:48:43 +0000 Subject: [PATCH 2/3] add CLI help for port-forward command (#2802) --- cli/portforward.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/portforward.go b/cli/portforward.go index de8f81ea2321b..bbbda6923d8ee 100644 --- a/cli/portforward.go +++ b/cli/portforward.go @@ -29,6 +29,7 @@ func portForward() *cobra.Command { ) cmd := &cobra.Command{ Use: "port-forward ", + Short: "Forward one or more ports from the local machine to the remote workspace", Aliases: []string{"tunnel"}, Args: cobra.ExactArgs(1), Example: ` From e74f5ed5993e718f2bc23f2d05b51c4cab376554 Mon Sep 17 00:00:00 2001 From: ketang <33678+ketang@users.noreply.github.com> Date: Sun, 3 Jul 2022 16:45:28 -0500 Subject: [PATCH 3/3] found another noun where a verb should be --- cli/dotfiles.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/dotfiles.go b/cli/dotfiles.go index e0310d34977ce..79110a3d6e1c6 100644 --- a/cli/dotfiles.go +++ b/cli/dotfiles.go @@ -24,7 +24,7 @@ func dotfiles() *cobra.Command { cmd := &cobra.Command{ Use: "dotfiles [git_repo_url]", Args: cobra.ExactArgs(1), - Short: "Checkout and install a dotfiles repository.", + Short: "Check out and install a dotfiles repository.", Example: "coder dotfiles [-y] git@github.com:example/dotfiles.git", RunE: func(cmd *cobra.Command, args []string) error { var (