Skip to content

Commit

Permalink
fix: Incorrect spelling of dimensions
Browse files Browse the repository at this point in the history
Signed-off-by: Shinyzenith <[email protected]>
  • Loading branch information
Shinyzenith committed Apr 6, 2024
1 parent 01f445a commit 6256101
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions waysip/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ enum Cli {
#[command(short_flag = 'p')]
Point,
#[command(short_flag = 'd')]
Dimesions,
Dimensions,
#[command(short_flag = 's')]
Screen,
#[command(short_flag = 'o')]
Expand Down Expand Up @@ -40,7 +40,7 @@ fn main() {
let (x, y) = info.left_top_point();
println!("{x},{y} 1x1");
}
Cli::Dimesions => {
Cli::Dimensions => {
let info = get_info!(WaySipKind::Area);
let (x, y) = info.left_top_point();
let width = info.width();
Expand Down

0 comments on commit 6256101

Please sign in to comment.