aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorTeddy Wing2022-08-20 19:43:35 +0200
committerTeddy Wing2022-08-20 19:43:35 +0200
commit13b24a39bf855584541892b2406562c2dc8fcc2b (patch)
tree16252dd7d9deb5e04bfe296b24af17b69983d725 /Cargo.toml
parent4dfe6642eafff6638dc09c673eb1ac727d1438d9 (diff)
downloadPassextract-13b24a39bf855584541892b2406562c2dc8fcc2b.tar.bz2
Add version command line argument
* -V and --version now print the program version and exit * Use the `exitcode` crate * Rename `options` variable to `accepted_args`, which seems clearer given its usage.
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 368b968..58bf90f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,4 +4,5 @@ version = "0.5.0"
[dependencies]
clipboard = "0.1.2"
+exitcode = "1.1.2"
rustty = "0.1"