From 166a85b3f3796ce9dce91004b0b99eed10443e3a Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 1 Aug 2020 21:35:56 +0200 Subject: Config: Add suggestion arguments Store the suggestion references specified on the command line. --- src/config.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/config.rs b/src/config.rs index 9b37eb1..7fe9695 100644 --- a/src/config.rs +++ b/src/config.rs @@ -29,6 +29,7 @@ pub struct Config { pub github_token: String, pub owner: String, pub repo: String, + pub suggestions: Vec, } impl Config { @@ -51,6 +52,7 @@ impl Config { github_token: Self::github_token(&opt_matches, &git_config)?, owner: o_r.owner, repo: o_r.repo, + suggestions: opt_matches.free, }) } -- cgit v1.2.3