Merge pull request #8797 from gregsmi/bug/gh-auth-token-docs

fixed doc string
This commit is contained in:
William Martin 2024-03-07 10:58:02 +01:00 committed by GitHub
commit 4601d7ff5e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -46,7 +46,7 @@ func NewCmdToken(f *cmdutil.Factory, runF func(*TokenOptions) error) *cobra.Comm
}
cmd.Flags().StringVarP(&opts.Hostname, "hostname", "h", "", "The hostname of the GitHub instance authenticated with")
cmd.Flags().StringVarP(&opts.Username, "user", "u", "", "The account to log out of")
cmd.Flags().StringVarP(&opts.Username, "user", "u", "", "The account to output the token for")
cmd.Flags().BoolVarP(&opts.SecureStorage, "secure-storage", "", false, "Search only secure credential store for authentication token")
_ = cmd.Flags().MarkHidden("secure-storage")