diff options
author | Teddy Wing | 2020-08-02 10:09:58 +0200 |
---|---|---|
committer | Teddy Wing | 2020-08-02 10:09:58 +0200 |
commit | 4151c8aee043bc4d39a7083b52ee5996adb22de8 (patch) | |
tree | 624304aaeb727913e295a052450e38fdb7535727 /src | |
parent | 8203c135f87774bbab93bbba19761db9a8a6639f (diff) | |
download | git-suggestion-4151c8aee043bc4d39a7083b52ee5996adb22de8.tar.bz2 |
Config: Add description to `--github-token` argument
Diffstat (limited to 'src')
-rw-r--r-- | src/config.rs | 7 |
1 files changed, 6 insertions, 1 deletions
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<Self, Error> { 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", |