diff options
author | Teddy Wing | 2022-08-20 19:43:35 +0200 |
---|---|---|
committer | Teddy Wing | 2022-08-20 19:43:35 +0200 |
commit | 13b24a39bf855584541892b2406562c2dc8fcc2b (patch) | |
tree | 16252dd7d9deb5e04bfe296b24af17b69983d725 /Cargo.lock | |
parent | 4dfe6642eafff6638dc09c673eb1ac727d1438d9 (diff) | |
download | Passextract-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.lock | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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", ] |