From 26899e95cd01f35459b6a144cd5a7a2846749f14 Mon Sep 17 00:00:00 2001 From: Kevin K Date: Sun, 6 Sep 2015 22:17:17 -0400 Subject: [PATCH] chore: fixes spelling in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a094c138..b1a99bca 100644 --- a/README.md +++ b/README.md @@ -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)