mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52: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() {
|
fn main() {
|
||||||
// The YAML file is found relative to the current file, similar to how modules are found
|
// The YAML file is found relative to the current file, similar to how modules are found
|
||||||
let yaml = load_yaml!("cli.yml");
|
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
|
// 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)
|
// required we could have used an 'if let' to conditionally get the value)
|
||||||
|
|
Loading…
Reference in a new issue