aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorTeddy Wing2020-08-02 00:47:53 +0200
committerTeddy Wing2020-08-02 00:47:53 +0200
commit13710b49cc40c0e78eec9a94ce9b0ea8a09c3860 (patch)
tree0ded95e864a307ba733a9134f28df40273665873 /Cargo.toml
parentdff81f7b84c279d7e00fe7a885743605a2ac5b7e (diff)
downloadgit-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.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index d0ce530..dccaa62 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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"