diff options
author | Teddy Wing | 2020-08-29 15:07:36 +0200 |
---|---|---|
committer | Teddy Wing | 2020-08-29 19:33:19 +0200 |
commit | 8706dc07bcf3b4c965de8e9dd050bd8b97ebc693 (patch) | |
tree | 9a8582d5163a98ac4d85cd330199b4e4d1c819d6 /README.md | |
parent | f8aa7f6c8a632546b4cb234abf0030a39be52eed (diff) | |
download | git-suggestion-8706dc07bcf3b4c965de8e9dd050bd8b97ebc693.tar.bz2 |
git-sugdiff: Use `diff_options.parse()` to extract diff options
Config::get():
Change `args` type so we can pass both a `Vec<String>` and
`Vec<&String>`.
diff_options.parse():
* Split diff arguments and program arguments by returning a tuple.
* Exit the args loop once we've parsed an argument.
* Update test
* Add a non-working test for suggestion arguments. An `OPT_OPTIONS`
argument could be followed by an argument that's not the value of the
`OPT_OPTIONS` option. Currently, that arg will always be parsed as the
value. We need to handle this case.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions