mirror of
https://github.com/clap-rs/clap
synced 2024-11-10 06:44:16 +00:00
fix: Typos in documentation to CompleteEnv
This commit is contained in:
parent
5034cabe54
commit
4fbbc3a6ca
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