mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 14:22:34 +00:00
Merge pull request #5689 from a-kenji/fix-typo
fix: Typos in documentation to `CompleteEnv`
This commit is contained in:
commit
87647d268c
1 changed files with 2 additions and 2 deletions
4
clap_complete/src/env/mod.rs
vendored
4
clap_complete/src/env/mod.rs
vendored
|
@ -64,8 +64,8 @@ pub use shells::*;
|
|||
|
||||
/// Environment-activated completions for your CLI
|
||||
///
|
||||
/// Benefits over CLI a completion argument or subcommand
|
||||
/// - Performance: we don't need to general [`clap::Command`] twice or parse arguments
|
||||
/// Benefits over a CLI completion argument or subcommand
|
||||
/// - Performance: we don't need to generate [`clap::Command`] twice or parse arguments
|
||||
/// - Flexibility: there is no concern over it interfering with other CLI logic
|
||||
///
|
||||
/// **Warning:** `stdout` should not be written to before [`CompleteEnv::complete`] has had a
|
||||
|
|
Loading…
Reference in a new issue