From 4151c8aee043bc4d39a7083b52ee5996adb22de8 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 2 Aug 2020 10:09:58 +0200 Subject: Config: Add description to `--github-token` argument --- src/config.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index ab82755..07768f0 100644 --- a/src/config.rs +++ b/src/config.rs @@ -41,7 +41,12 @@ impl<'a> Config<'a> { pub fn get(args: &[String], usage_brief: &'a str) -> Result { let mut opts = Options::new(); - opts.optopt("", "github-token", "", "TOKEN"); + opts.optopt( + "", + "github-token", + r#"GitHub API token with "repo" permission"#, + "TOKEN", + ); opts.optopt( "", "remote", -- cgit v1.2.3