diff options
| author | Teddy Wing | 2020-08-01 21:35:56 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2020-08-01 21:35:56 +0200 | 
| commit | 166a85b3f3796ce9dce91004b0b99eed10443e3a (patch) | |
| tree | 9c5b76610c96eb64fda0976e4fe6219680e3a43e /src | |
| parent | e0f75bb732e2f1c66a9121142399bcd1d604a4f3 (diff) | |
| download | git-suggestion-166a85b3f3796ce9dce91004b0b99eed10443e3a.tar.bz2 | |
Config: Add suggestion arguments
Store the suggestion references specified on the command line.
Diffstat (limited to 'src')
| -rw-r--r-- | src/config.rs | 2 | 
1 files changed, 2 insertions, 0 deletions
| 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<String>,  }  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,          })      } | 
