Searched refs:render_usage (Results 1 – 4 of 4) sorted by relevance
214 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()
341 &cmd.render_usage().to_string(), in subcommand_placeholder_test()
902 pub fn render_usage(&mut self) -> StyledStr { in render_usage() method
511 - *(help)* `Command::render_usage` now returns a `StyledStr` (#4248)562 - *(help)* `Command::render_usage` now returns a `StyledStr` (#4248)