mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 22:32:33 +00:00
Merge pull request #233 from kbknapp/readme
chore: fixes spelling in readme
This commit is contained in:
commit
f9144c978b
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ use clap::App;
|
|||
fn main() {
|
||||
// The YAML file is found relative to the current file, similar to how modules are found
|
||||
let yaml = load_yaml!("cli.yml");
|
||||
let matches = App::from_yaml(yaml).get_mathes();
|
||||
let matches = App::from_yaml(yaml).get_matches();
|
||||
|
||||
// Calling .unwrap() is safe here because "INPUT" is required (if "INPUT" wasn't
|
||||
// required we could have used an 'if let' to conditionally get the value)
|
||||
|
|
Loading…
Reference in a new issue