Browse Source

Better name for \"PATH\" argument

master
Unbewohnte 3 years ago
parent
commit
a915b9a331
  1. 4
      README.md
  2. 2
      src/main.rs

4
README.md

@ -7,13 +7,13 @@
## Usage ## Usage
pngrip [DESTINATION] [PATH]... pngrip [DESTINATION] [FILES]...
where DESTINATION is the path to the existing or non-existing directory where ripped images will be delivered where DESTINATION is the path to the existing or non-existing directory where ripped images will be delivered
and and
PATH... are paths to the files to rip images from FILES... are paths to the files to rip images from
## Examples ## Examples

2
src/main.rs

@ -16,7 +16,7 @@ use std::path::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] [PATH]..."); println!("USAGE: pngrip [DESTINATION] [FILES]...");
std::process::exit(0); std::process::exit(0);
} }

Loading…
Cancel
Save