diff options
author | Teddy Wing | 2020-08-02 00:47:53 +0200 |
---|---|---|
committer | Teddy Wing | 2020-08-02 00:47:53 +0200 |
commit | 13710b49cc40c0e78eec9a94ce9b0ea8a09c3860 (patch) | |
tree | 0ded95e864a307ba733a9134f28df40273665873 /Cargo.toml | |
parent | dff81f7b84c279d7e00fe7a885743605a2ac5b7e (diff) | |
download | git-suggestion-13710b49cc40c0e78eec9a94ce9b0ea8a09c3860.tar.bz2 |
git-sugpatch: Print error and exit on `Config::get` error
Add `exitcode` to exit with an appropriate code.
Add the `gseprintln` macro to wrap `eprintln!()`, prefixing the output
with "error: ".
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4,6 +4,7 @@ version = "0.0.1" edition = "2018" [dependencies] +exitcode = "1.1.2" getopts = "0.2.21" git2 = "0.13.8" regex = "1.3.9" |