Home
last modified time | relevance | path

Searched refs:get_matches (Results 1 - 25 of 36) sorted by relevance

12

/third_party/rust/crates/clap/tests/builder/
H A Dpropagate_globals.rs23 fn get_matches(cmd: Command, argv: &'static str) -> ArgMatches { in get_matches() functions
76 let m = get_matches(get_app(), "myprog --global-arg=some_value outer inner"); in global_arg_used_top_level()
85 let m = get_matches(get_app(), "myprog outer --global-arg=some_value inner"); in global_arg_used_outer()
94 let m = get_matches(get_app(), "myprog outer inner --global-arg=some_value"); in global_arg_used_inner()
103 let m = get_matches(get_app(), "myprog outer inner"); in global_arg_default_value()
112 let m = get_matches(get_app(), "myprog --global-flag outer inner"); in global_flag_used_top_level()
121 let m = get_matches(get_app(), "myprog outer --global-flag inner"); in global_flag_used_outer()
130 let m = get_matches(get_app(), "myprog outer inner --global-flag"); in global_flag_used_inner()
139 let m = get_matches(get_app(), "myprog --global-flag --global-flag outer inner"); in global_flag_2x_used_top_level()
148 let m = get_matches(get_ap in global_flag_2x_used_inner()
[all...]
/third_party/rust/crates/clap/examples/tutorial_builder/
H A D03_02_option.rs6 .get_matches(); in main()
H A D03_03_positional.rs6 .get_matches(); in main()
H A D03_01_flag_count.rs11 .get_matches(); in main()
H A D03_01_flag_bool.rs11 .get_matches(); in main()
H A D03_05_default_values.rs10 .get_matches(); in main()
H A D03_02_option_mult.rs11 .get_matches(); in main()
H A D04_01_possible.rs10 .get_matches(); in main()
H A D04_02_parse.rs10 .get_matches(); in main()
H A D02_crate.rs8 .get_matches(); in main()
H A D03_04_subcommands.rs13 .get_matches(); in main()
H A D03_03_positional_mult.rs6 .get_matches(); in main()
H A D02_app_settings.rs8 .get_matches(); in main()
H A D02_apps.rs10 .get_matches(); in main()
H A D05_01_assert.rs4 let matches = cmd().get_matches(); in main()
H A D04_02_validate.rs12 .get_matches(); in main()
H A D04_01_enum.rs52 .get_matches(); in main()
/third_party/rust/crates/clap/examples/
H A Dmulticall-hostname.rs12 match cmd.get_matches().subcommand_name() { in main()
H A Dcargo-example.rs11 let matches = cmd.get_matches(); in main()
H A Descaped-positional.rs14 .get_matches(); in main()
H A Dmulticall-busybox.rs34 let matches = cmd.get_matches(); in main()
/third_party/rust/crates/clap/src/bin/
H A Dstdio-fixture.rs14 cmd.get_matches(); in main()
/third_party/rust/crates/clap/examples/derive_ref/
H A Daugment_subcommands.rs16 let matches = cli.get_matches(); in main()
H A Daugment_args.rs14 let matches = cli.get_matches(); in main()
/third_party/rust/crates/clap/clap_complete/examples/
H A Ddynamic.rs24 let matches = cmd.get_matches(); in main()

Completed in 10 milliseconds

12