Home
last modified time | relevance | path

Searched refs:render_usage (Results 1 – 4 of 4) sorted by relevance

/third_party/rust/crates/clap/tests/builder/
Dpositionals.rs214 crate::utils::assert_eq(cmd.render_usage().to_string(), "Usage: test [FILE]"); in single_positional_usage_string()
220 crate::utils::assert_eq(cmd.render_usage().to_string(), "Usage: test [FILE]..."); in single_positional_multiple_usage_string()
229 cmd.render_usage().to_string(), in multiple_positional_usage_string()
241 cmd.render_usage().to_string(), in multiple_positional_one_required_usage_string()
249 crate::utils::assert_eq(cmd.render_usage().to_string(), "Usage: test <FILE>"); in single_positional_required_usage_string()
Dsubcommands.rs341 &cmd.render_usage().to_string(), in subcommand_placeholder_test()
/third_party/rust/crates/clap/src/builder/
Dcommand.rs902 pub fn render_usage(&mut self) -> StyledStr { in render_usage() method
/third_party/rust/crates/clap/
DCHANGELOG.md511 - *(help)* `Command::render_usage` now returns a `StyledStr` (#4248)
562 - *(help)* `Command::render_usage` now returns a `StyledStr` (#4248)