Always hide GH token in opts

This commit is contained in:
Matthias 2022-01-06 09:54:03 +01:00
parent 388bbbe7b0
commit 5eb062cbec

View file

@ -249,7 +249,7 @@ pub(crate) struct Config {
pub(crate) basic_auth: Option<String>,
/// GitHub API token to use when checking github.com links, to avoid rate limiting
#[structopt(long, env = "GITHUB_TOKEN")]
#[structopt(long, env = "GITHUB_TOKEN", hide_env_values = true)]
#[serde(default)]
pub(crate) github_token: Option<String>,