Merge pull request #8870 from ihommani/auth-switch-doc-typo

Fix typo in auth switch help example
This commit is contained in:
William Martin 2024-03-24 07:54:47 +01:00 committed by GitHub
commit 1a102edb52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,7 +49,7 @@ func NewCmdSwitch(f *cmdutil.Factory, runF func(*SwitchOptions) error) *cobra.Co
$ gh auth switch
# Switch to a specific host and specific account
$ gh auth logout --hostname enterprise.internal --user monalisa
$ gh auth switch --hostname enterprise.internal --user monalisa
`),
RunE: func(c *cobra.Command, args []string) error {
if runF != nil {