Skip to content

gh help environment is misleading on at least Windows #7047

@jsoref

Description

@jsoref

Help says this:

GH_CONFIG_DIR: the directory where gh will store configuration files. Default:
"$XDG_CONFIG_HOME/gh" or "$HOME/.config/gh".

But the code doesn't live in that repository, it lives here:
https://github.com/cli/go-gh/blob/6f61141a1f8733099288c3625805b0c99a378a82/pkg/config/config.go#L227-L240

And that does not match the help at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocshelp wantedContributions welcomepriority-2Affects more than a few users but doesn't prevent core functions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions