Skip to content

Commit

Permalink
Merge pull request #60 from Debbl/typo
Browse files Browse the repository at this point in the history
fix: typo
  • Loading branch information
AmrDeveloper authored Dec 19, 2023
2 parents 8173221 + 6f754da commit f390eeb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions crates/gitql-cli/src/arguments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub fn parse_arguments(args: &Vec<String>) -> Command {
let arg = &args[arg_index];

if !arg.starts_with('-') {
return Command::Error(format!("Unkown argument {}", arg));
return Command::Error(format!("Unknown argument {}", arg));
}

match arg.as_ref() {
Expand Down Expand Up @@ -111,7 +111,7 @@ pub fn parse_arguments(args: &Vec<String>) -> Command {
arguments.page_size = page_size;
arg_index += 1;
}
_ => return Command::Error(format!("Unkown command {}", arg)),
_ => return Command::Error(format!("Unknown command {}", arg)),
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ fn main() {
Command::Version => {
println!("GitQL version {}", env!("CARGO_PKG_VERSION"));
}
Command::Error(error_mssage) => {
println!("{}", error_mssage);
Command::Error(error_message) => {
println!("{}", error_message);
}
}
}
Expand Down

0 comments on commit f390eeb

Please sign in to comment.