Skip to content

Commit

Permalink
Treat JPG and JPEG the same
Browse files Browse the repository at this point in the history
  • Loading branch information
archer884 committed Apr 21, 2020
1 parent 6801cd0 commit 773fd50
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/config/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ impl Opt {

let extension = self.output.as_ref().and_then(|s| read_extension(s));
match extension.as_ref().map(AsRef::as_ref) {
Some("JPG") => OutputFormat::Jpg,
Some("JPG") | Some("JPEG") => OutputFormat::Jpg,
Some("PNG") => OutputFormat::Png,
_ => self.format.get_format(),
}
Expand Down Expand Up @@ -114,7 +114,8 @@ impl Options {
let mut opt: Opt = StructOpt::from_args();

if opt.rightsholder_protections {
println!("Rightsholder Protections Active\n\n\
println!(
"Rightsholder Protections Active\n\n\
Your IP has been reported. Please turn off your PC and walk away.\n\
Trust and Safety personnel have been dispatched to your location.\n\n\
Have a nice day."
Expand Down

0 comments on commit 773fd50

Please sign in to comment.