mirror of
https://github.com/Hopiu/lychee.git
synced 2026-05-24 05:13:44 +00:00
Always hide GH token in opts
This commit is contained in:
parent
388bbbe7b0
commit
5eb062cbec
1 changed files with 1 additions and 1 deletions
|
|
@ -249,7 +249,7 @@ pub(crate) struct Config {
|
||||||
pub(crate) basic_auth: Option<String>,
|
pub(crate) basic_auth: Option<String>,
|
||||||
|
|
||||||
/// GitHub API token to use when checking github.com links, to avoid rate limiting
|
/// 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)]
|
#[serde(default)]
|
||||||
pub(crate) github_token: Option<String>,
|
pub(crate) github_token: Option<String>,
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue