mirror of
https://github.com/clap-rs/clap
synced 2025-03-04 23:37:32 +00:00
Fix docs variable name
Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
This commit is contained in:
parent
6e4ac4cffc
commit
0dded91541
1 changed files with 1 additions and 1 deletions
|
@ -1821,7 +1821,7 @@ impl<'help> App<'help> {
|
|||
///
|
||||
/// let res = app.try_get_matches_from_mut(vec!["foo", "-x"]);
|
||||
///
|
||||
/// // Since we changed `bar`'s short to "f" this should err as there
|
||||
/// // Since we changed `foo`'s short to "f" this should err as there
|
||||
/// // is no `-x` anymore, only `-f`
|
||||
///
|
||||
/// assert!(res.is_err());
|
||||
|
|
Loading…
Add table
Reference in a new issue