mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 22:32:33 +00:00
Update README.md
fix INPUT
This commit is contained in:
parent
d7f6748887
commit
70f49d9fc5
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ fn main() {
|
||||||
.get_matches();
|
.get_matches();
|
||||||
|
|
||||||
// You can check the value provided by positional arguments, or option arguments
|
// You can check the value provided by positional arguments, or option arguments
|
||||||
if let Some(i) = matches.value_of("input") {
|
if let Some(i) = matches.value_of("INPUT") {
|
||||||
println!("Value for input: {}", i);
|
println!("Value for input: {}", i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue