Skip to content

Commit

Permalink
Merge pull request russelltg#48 from notpeelz/fix-typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
russelltg authored Dec 22, 2023
2 parents 1951767 + 7881e7d commit c576cc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ pub struct Args {
)]
filename: String,

#[clap(long, short, value_parser=parse_geometry, help="geometry to capture, format x,y WxH. Compatiable with the output of `slurp`. Mutually exclusive with --output", allow_hyphen_values=true)]
#[clap(long, short, value_parser=parse_geometry, help="geometry to capture, format x,y WxH. Compatible with the output of `slurp`. Mutually exclusive with --output", allow_hyphen_values=true)]
geometry: Option<(i32, i32, u32, u32)>,

#[clap(
Expand Down Expand Up @@ -1014,7 +1014,7 @@ impl State {
(output, (0, 0), output.size_pixels)
}
(None, disp) => {
// --output but no --geoemetry
// --output but no --geometry
if let Some((_, output)) = self.outputs.iter().find(|(_, i)| i.name == disp) {
(output, (0, 0), output.size_pixels)
} else {
Expand Down

0 comments on commit c576cc5

Please sign in to comment.