aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.lock
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.lock
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.lock')
-rw-r--r--Cargo.lock7
1 files changed, 7 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 57aaf77..ddb95b6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -34,6 +34,12 @@ dependencies = [
]
[[package]]
+name = "exitcode"
+version = "1.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "de853764b47027c2e862a995c34978ffa63c1501f2e15f987ba11bd4f9bba193"
+
+[[package]]
name = "gag"
version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -102,6 +108,7 @@ name = "passextract"
version = "0.5.0"
dependencies = [
"clipboard",
+ "exitcode",
"rustty",
]