Skip to content

Commit

Permalink
docs: fix typo in example
Browse files Browse the repository at this point in the history
  • Loading branch information
rami3l committed Jul 30, 2021
1 parent 38649cc commit 9eaae97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/05_flag_args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fn main() {
}

// Same thing with `pseudo-flag`
if app.value_of("pseudo-flag") != Some("false") {
if matches.value_of("pseudo-flag") != Some("false") {
println!("Pseudo-flag is turned on");
}

Expand Down

0 comments on commit 9eaae97

Please sign in to comment.