/third_party/rust/crates/clap/clap_bench/benches/ |
H A D | 06_rustup.rs | 27 .about("The Rust toolchain installer") in build_cli() 38 .about("Show the active and installed toolchains") in build_cli() 43 .about("Update Rust toolchains") in build_cli() 50 .about("Update Rust toolchains") in build_cli() 63 .about("Set the default toolchain") in build_cli() 69 .about("Modify or query the installed toolchains") in build_cli() 71 .subcommand(Command::new("list").about("List installed toolchains")) in build_cli() 74 .about("Install or update a given toolchain") in build_cli() 79 .about("Uninstall a toolchain") in build_cli() 84 .about("Creat in build_cli() [all...] |
H A D | 04_new_help.rs | 14 .about("Does awesome things") in app_example1() 25 .about("does testing things") in app_example1() 34 .about("Does awesome things") in app_example2() 67 .about("Parses an input file to do awesome things") in app_example4() 148 Command::new("myapp").about("does awesome things").arg( in app_example10() 202 let mut cmd = app_example4().help_template("{name} {version}\n{author}\n{about}\n\nUSAGE:\n {usage}\n\nOPTIONS:\n{options}\n\nARGS:\n{args}\n"); in example4_template()
|
H A D | 03_complex.rs | 11 .about("tests clap library") 37 .about("tests subcommands") 51 .about("tests clap library") in build_from_builder() 135 .about("tests subcommands") in build_from_builder()
|
/third_party/rust/crates/clap/clap_complete_fig/tests/ |
H A D | common.rs | 16 clap::Command::new("test").about("Subcommand").arg( in basic_command() 28 .about("Tests completions") in basic_command() 45 clap::Command::new("test").about("tests things").arg( in basic_command() 58 .about("tests other things") in basic_command() 113 clap::Command::new("cmd-single-quotes").about("Can be 'always', 'auto', or 'never'"), in basic_command() 115 .about("Can be \"always\", \"auto\", or \"never\""), in basic_command() 116 clap::Command::new("cmd-backticks").about("For more information see `echo test`"), in basic_command() 117 clap::Command::new("cmd-backslash").about("Avoid '\\n'"), in basic_command() 118 clap::Command::new("cmd-brackets").about("List packages [filter]"), in basic_command() 119 clap::Command::new("cmd-expansions").about("Execut in basic_command() [all...] |
/third_party/rust/crates/clap/clap_complete/tests/ |
H A D | common.rs | 18 clap::Command::new("test").about("Subcommand").arg( in basic_command() 30 .about("Tests completions") in basic_command() 47 clap::Command::new("test").about("tests things").arg( in basic_command() 60 .about("tests other things") in basic_command() 115 clap::Command::new("cmd-single-quotes").about("Can be 'always', 'auto', or 'never'"), in basic_command() 117 .about("Can be \"always\", \"auto\", or \"never\""), in basic_command() 118 clap::Command::new("cmd-backticks").about("For more information see `echo test`"), in basic_command() 119 clap::Command::new("cmd-backslash").about("Avoid '\\n'"), in basic_command() 120 clap::Command::new("cmd-brackets").about("List packages [filter]"), in basic_command() 121 clap::Command::new("cmd-expansions").about("Execut in basic_command() [all...] |
/third_party/rust/crates/clap/clap_mangen/tests/ |
H A D | common.rs | 18 clap::Command::new("test").about("Subcommand").arg( in basic_command() 30 .about("Tests completions") in basic_command() 47 clap::Command::new("test").about("tests things").arg( in basic_command() 60 .about("tests other things") in basic_command() 111 clap::Command::new("cmd-single-quotes").about("Can be 'always', 'auto', or 'never'"), in basic_command() 113 .about("Can be \"always\", \"auto\", or \"never\""), in basic_command() 114 clap::Command::new("cmd-backticks").about("For more information see `echo test`"), in basic_command() 115 clap::Command::new("cmd-backslash").about("Avoid '\\n'"), in basic_command() 116 clap::Command::new("cmd-brackets").about("List packages [filter]"), in basic_command() 117 clap::Command::new("cmd-expansions").about("Execut in basic_command() [all...] |
/third_party/rust/crates/clap/tests/builder/ |
H A D | template_help.rs | 8 {about} 17 {about} 26 {about} 40 {about} 106 .about("Does awesome things") in template_empty() 116 .about("Does awesome things") in template_notag() 126 .about("Does awesome things") in template_unknowntag() 137 .about("Does awesome things") in template_author_version() 138 .help_template("{author}\n{version}\n{about}\n{bin}"); in template_author_version() 144 .about("Doe in template_author_version() [all...] |
H A D | hidden_args.rs | 21 .about("tests stuff") in hide_args() 47 .about("hides short args") in hide_short_args() 90 .about("hides short args") in hide_short_args_long_help() 129 .about("hides long args") in hide_long_args() 164 .about("hides long args") in hide_long_args_short_help()
|
H A D | help.rs | 10 .about("tests stuff") in setup() 47 .about("tests things") in help_subcommand() 62 .about("tests subcommands") in help_multi_subcommand_error() 252 .about("tests clap library") in after_and_before_help_output() 292 .about("tests clap library") in after_and_before_long_help_output() 318 .about("tests subcommands") in multi_level_sc_help() 962 .about("bar") in issue_702_multiple_values() 1019 .about("bar") in long_about() 1217 Show how the about text is not in issue_777_wrap_all_things() 1230 .about("Sho in issue_777_wrap_all_things() [all...] |
H A D | derive_order.rs | 275 .about("blah b1") in subcommand_sorted_display_order() 278 .about("blah a1") in subcommand_sorted_display_order() 307 .about("blah b1") in subcommand_derived_display_order() 310 .about("blah a1") in subcommand_derived_display_order()
|
H A D | flag_subcommands.rs | 513 .about("package manager utility") in flag_subcommand_long_short_normal_usage_string() 524 .about("Query the package database.") in flag_subcommand_long_short_normal_usage_string() 561 .about("package manager utility") in flag_subcommand_long_normal_usage_string() 571 .about("Query the package database.") in flag_subcommand_long_normal_usage_string() 613 .about("package manager utility") in flag_subcommand_short_normal_usage_string() 623 .about("Query the package database.") in flag_subcommand_short_normal_usage_string()
|
H A D | tests.rs | 247 .about("does awesome things") in create_app() 451 Command::new("foo").subcommand(Command::new("bar").alias("baz").about("test subcmd")); in mut_subcommand_with_alias_resolve() 464 cmd = cmd.mut_subcommand(&*true_name, |subcmd| subcmd.about("modified about")); in mut_subcommand_with_alias_resolve() 471 "modified about" in mut_subcommand_with_alias_resolve() 480 .about("tests subcommands") in issue_3669_command_build_recurses()
|
H A D | utils.rs | 10 {author-with-newline}{about-with-newline} 52 .about("tests clap library") in complex_app() 93 .about("tests subcommands") in complex_app()
|
/third_party/rust/crates/clap/examples/ |
H A D | git.rs | 8 .about("A fictional versioning CLI") in cli() 14 .about("Clones repos") in cli() 20 .about("Compare two commits") in cli() 35 .about("pushes things") in cli() 41 .about("adds things") in cli()
|
H A D | pacman.rs | 5 .about("package manager utility") in main() 17 .about("Query the package database.") in main() 44 .about("Synchronize packages.") in main()
|
H A D | multicall-hostname.rs | 9 .subcommand(Command::new("hostname").about("show hostname part of FQDN")) in main() 10 .subcommand(Command::new("dnsdomainname").about("show domain name part of FQDN")); in main()
|
H A D | multicall-busybox.rs | 8 Command::new("true").about("does nothing successfully"), 9 Command::new("false").about("does nothing unsuccessfully"),
|
H A D | repl.rs | 58 {about-with-newline}\n\ in cli() 73 .about("Get a response") in cli() 79 .about("Quit the REPL") in cli()
|
/third_party/rust/crates/clap/clap_mangen/src/ |
H A D | render.rs | 11 pub(crate) fn about(roff: &mut Roff, cmd: &clap::Command) { 13 Some(about) => format!("{} - {}", cmd.get_name(), about), 20 if let Some(about) = cmd.get_long_about().or_else(|| cmd.get_about()) { 21 for line in about.to_string().lines() { 236 if let Some(about) = sub.get_about().or_else(|| sub.get_long_about()) { 237 for line in about.to_string().lines() { 254 if let Some(about) = cmd.get_after_long_help().or_else(|| cmd.get_after_help()) { 255 for line in about.to_string().lines() {
|
/third_party/rust/crates/clap/clap_mangen/examples/ |
H A D | man.rs | 11 .about("Does awesome things") in main() 21 .long_help("Some more text about how to set a custom config file") in main() 33 .about("does testing things") in main()
|
/third_party/rust/crates/clap/tests/derive/ |
H A D | doc_comments_help.rs | 39 #[command(name = "lorem-ipsum", about = "Dolor sit amet")] in help_is_better_than_comments() 76 #[command(name = "lorem-ipsum", about = "Dolor sit amet")] in field_long_doc_comment_both_help_long_help() 104 #[command(name = "lorem-ipsum", about = "Dolor sit amet")] in top_long_doc_comment_both_help_long_help() 259 // clap will fallback to `about` on `None`. The main care about is not providing a `Sub` doc in doc_comment_about_handles_both_abouts()
|
/third_party/skia/tools/mdbviz/ |
H A D | mainwindow.cpp | 99 void MainWindow::about() { in about() function in MainWindow 100 QMessageBox::about(this, "About MDB Viz", "Visualize MDB"); in about() 132 QAction *aboutAct = helpMenu->addAction(tr("&About"), this, &MainWindow::about); in createActions()
|
/third_party/rust/crates/clap/src/output/ |
H A D | help_template.rs | 60 {before-help}{about-with-newline} 67 {before-help}{about-with-newline} 124 /// For details about the template language see [`Command::help_template`]. 156 "about" => { 159 "about-with-newline" => { 162 "about-section" => { 276 let about = if self.use_long { in write_about() 281 if let Some(output) = about { in write_about() 475 let about = if self.use_long { in write_arg() 485 self.help(Some(arg), about, spec_val in write_arg() [all...] |
/third_party/skia/modules/pathkit/tests/ |
H A D | pathops.spec.js | 150 // Don't worry about it, at least it didn't crash. 205 // Don't worry about it, at least it didn't crash.
|
/third_party/rust/crates/clap/src/ |
H A D | macros.rs | 74 /// .about(crate_description!()) 145 let about = $crate::crate_description!(); 146 if !about.is_empty() { 147 cmd = cmd.about(about)
|