diff options
| author | Teddy Wing | 2020-08-02 09:57:52 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2020-08-02 09:57:52 +0200 | 
| commit | 8203c135f87774bbab93bbba19761db9a8a6639f (patch) | |
| tree | 02a0ac4b7202944d3482ef08af992026e6dc724c | |
| parent | c6ac35a6af7b9c00ba9341ecfff496da86bfab76 (diff) | |
| download | git-suggestion-8203c135f87774bbab93bbba19761db9a8a6639f.tar.bz2 | |
Config: Add description to `--remote` argument
| -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 476b597..ab82755 100644 --- a/src/config.rs +++ b/src/config.rs @@ -42,7 +42,12 @@ impl<'a> Config<'a> {          let mut opts = Options::new();          opts.optopt("", "github-token", "", "TOKEN"); -        opts.optopt("", "remote", "", "REMOTE"); +        opts.optopt( +            "", +            "remote", +            "remote name, defaults to 'origin'", +            "REMOTE", +        );          opts.optflag("h", "help", "print this help menu");          let opt_matches = opts.parse(&args[1..])?; | 
