X Tutup
Skip to content

Commit 5a2c7e7

Browse files
authored
Merge pull request cli#1707 from cli/fix-zsh-autocomplete
Remove square brackets from persistent flag description to fix zsh autocomplete
2 parents 2071c72 + 3f3c781 commit 5a2c7e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmdutil/repo_override.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
)
99

1010
func EnableRepoOverride(cmd *cobra.Command, f *Factory) {
11-
cmd.PersistentFlags().StringP("repo", "R", "", "Select another repository using the `[HOST/]OWNER/REPO` format")
11+
cmd.PersistentFlags().StringP("repo", "R", "", "Select another repository using the `OWNER/REPO` format")
1212

1313
cmd.PersistentPreRun = func(cmd *cobra.Command, args []string) {
1414
repoOverride, _ := cmd.Flags().GetString("repo")

0 commit comments

Comments
 (0)
X Tutup