Skip to content

Commit b111456

Browse files
committed
docs: capitalize PowerShell in completion help text
User-facing completion description used "Powershell"; use the official product capitalization.
1 parent c6f4cf7 commit b111456

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

completion.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ var (
4646
}
4747
)
4848

49-
const completionDescription = `Output shell completion script for bash, zsh, fish, or Powershell.
49+
const completionDescription = `Output shell completion script for bash, zsh, fish, or PowerShell.
5050
Source the output to enable completion.
5151
5252
# .bashrc
@@ -58,15 +58,15 @@ source <($COMMAND completion zsh)
5858
# fish
5959
$COMMAND completion fish > ~/.config/fish/completions/$COMMAND.fish
6060
61-
# Powershell
61+
# PowerShell
6262
Output the script to path/to/autocomplete/$COMMAND.ps1 and run it.
6363
`
6464

6565
func buildCompletionCommand(appName string) *Command {
6666
cmd := &Command{
6767
Name: completionCommandName,
6868
Hidden: true,
69-
Usage: "Output shell completion script for bash, zsh, fish, or Powershell",
69+
Usage: "Output shell completion script for bash, zsh, fish, or PowerShell",
7070
Description: strings.ReplaceAll(completionDescription, "$COMMAND", appName),
7171
isCompletionCommand: true,
7272
}

0 commit comments

Comments
 (0)