add version

master
Avril 4 years ago
parent 0f8bec6e03
commit 2bf7275ca2
Signed by: flanchan
GPG Key ID: 284488987C31F630

2
Cargo.lock generated

@ -578,7 +578,7 @@ dependencies = [
[[package]] [[package]]
name = "rmdupe" name = "rmdupe"
version = "1.2.1" version = "2.0.1"
dependencies = [ dependencies = [
"chrono", "chrono",
"futures", "futures",

@ -1,6 +1,6 @@
[package] [package]
name = "rmdupe" name = "rmdupe"
version = "2.0.0" version = "2.0.1"
authors = ["Avril <flanchan@cumallover.me>"] authors = ["Avril <flanchan@cumallover.me>"]
edition = "2018" edition = "2018"

@ -19,6 +19,9 @@ pub fn program() -> &'static str
pub fn usage() -> ! pub fn usage() -> !
{ {
println!("rmdupe version {}", env!("CARGO_PKG_VERSION"));
println!(" by {}", env!("CARGO_PKG_AUTHORS"));
println!(" (licensed with GNU GPL v3)\n");
println!("Usage: {} [OPTIONS] [--] <dirs...>", program()); println!("Usage: {} [OPTIONS] [--] <dirs...>", program());
println!("Usage: {} --rebase [<files>]", program()); println!("Usage: {} --rebase [<files>]", program());
println!("Usage: {} --help", program()); println!("Usage: {} --help", program());

Loading…
Cancel
Save