Browse Source

Print version

master
Unbewohnte 3 years ago
parent
commit
946837f1f4
  1. 3
      .gitignore
  2. 2
      Cargo.lock
  3. 2
      Cargo.toml
  4. 2
      src/main.rs

3
.gitignore vendored

@ -1,2 +1,3 @@
/target /target
/.idea /.idea
/release

2
Cargo.lock generated

@ -4,4 +4,4 @@ version = 3
[[package]] [[package]]
name = "pngrip" name = "pngrip"
version = "0.1.1" version = "0.1.2"

2
Cargo.toml

@ -1,6 +1,6 @@
[package] [package]
name = "pngrip" name = "pngrip"
version = "0.1.1" version = "0.1.2"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

2
src/main.rs

@ -102,7 +102,7 @@ fn rip_png(path: &Path, destination: &Path) {
fn main() { fn main() {
let args: Vec<String> = std::env::args().collect(); let args: Vec<String> = std::env::args().collect();
if args.len() < 3 { if args.len() < 3 {
println!("USAGE: pngrip [DESTINATION] [FILES]..."); println!("pngrip v0.1.2\nUSAGE: pngrip [DESTINATION] [FILES]...");
std::process::exit(0); std::process::exit(0);
} }

Loading…
Cancel
Save