-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed
Labels
bugSomething isn't workingSomething isn't workinggh-authrelating to the gh auth commandrelating to the gh auth commandhelp wantedContributions welcomeContributions welcomep3Affects a small number of users or is largely cosmeticAffects a small number of users or is largely cosmetic
Description
Describe the bug
gh auth token has incorrect --user option description
Steps to reproduce the behavior
gh auth token --help
Expected vs actual behavior
Actual:
-u, --user string The account to log out of
Should be more like:
-u, --user string The account to output the token for
Presumably copy-paste bug from gh auth logout.
Logs
> gh auth token --help
This command outputs the authentication token for an account on a given GitHub host.
Without the `--hostname` flag, the default host is chosen.
Without the `--user` flag, the active account for the host is chosen.
USAGE
gh auth token [flags]
FLAGS
-h, --hostname string The hostname of the GitHub instance authenticated with
-u, --user string The account to log out of
INHERITED FLAGS
--help Show help for command
LEARN MORE
Use `gh <command> <subcommand> --help` for more information about a command.
Read the manual at https://cli.github.com/manual
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggh-authrelating to the gh auth commandrelating to the gh auth commandhelp wantedContributions welcomeContributions welcomep3Affects a small number of users or is largely cosmeticAffects a small number of users or is largely cosmetic