From 5eb062cbec0b565dc379179efc19bdbf6e0f24c8 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 6 Jan 2022 09:54:03 +0100 Subject: [PATCH] Always hide GH token in opts --- lychee-bin/src/options.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lychee-bin/src/options.rs b/lychee-bin/src/options.rs index c8a2181..e8ed954 100644 --- a/lychee-bin/src/options.rs +++ b/lychee-bin/src/options.rs @@ -249,7 +249,7 @@ pub(crate) struct Config { pub(crate) basic_auth: Option, /// 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,