Home
last modified time | relevance | path

Searched refs:try_get_matches_from (Results 1 – 25 of 44) sorted by relevance

12

/third_party/rust/crates/clap/tests/builder/
Daction.rs13 let matches = cmd.clone().try_get_matches_from(["test"]).unwrap(); in set()
20 .try_get_matches_from(["test", "--mammal", "dog"]) in set()
28 .try_get_matches_from(["test", "--mammal", "dog", "--mammal", "cat"]); in set()
35 .try_get_matches_from(["test", "--mammal", "dog", "--mammal", "cat"]) in set()
46 let matches = cmd.clone().try_get_matches_from(["test"]).unwrap(); in append()
53 .try_get_matches_from(["test", "--mammal", "dog"]) in append()
64 .try_get_matches_from(["test", "--mammal", "dog", "--mammal", "cat"]) in append()
86 let matches = cmd.clone().try_get_matches_from(["test"]).unwrap(); in set_true()
93 .try_get_matches_from(["test", "--mammal"]) in set_true()
101 .try_get_matches_from(["test", "--mammal", "--mammal"]); in set_true()
[all …]
Dflag_subcommands.rs17 .try_get_matches_from(vec!["myprog", "some", "--test"]) in flag_subcommand_normal()
42 .try_get_matches_from(vec!["myprog", "result", "--test"]) in flag_subcommand_normal_with_alias()
63 .try_get_matches_from(vec!["myprog", "-S", "--test"]) in flag_subcommand_short()
84 .try_get_matches_from(vec!["myprog", "-St"]) in flag_subcommand_short_with_args()
109 .try_get_matches_from(vec!["myprog", "-Bt"]) in flag_subcommand_short_with_alias()
122 .try_get_matches_from(vec!["myprog", "-S"]) in flag_subcommand_short_with_alias_same_as_short_flag()
135 .try_get_matches_from(vec!["myprog", "--sync"]) in flag_subcommand_long_with_alias_same_as_long_flag()
155 let matches1 = app1.try_get_matches_from(vec!["test", "-M"]).unwrap(); in flag_subcommand_short_with_aliases_vis_and_hidden()
159 let matches2 = app2.try_get_matches_from(vec!["test", "-C"]).unwrap(); in flag_subcommand_short_with_aliases_vis_and_hidden()
163 let matches3 = app3.try_get_matches_from(vec!["test", "-B"]).unwrap(); in flag_subcommand_short_with_aliases_vis_and_hidden()
[all …]
Drequire.rs12 .try_get_matches_from(vec!["", "-f"]); in flag_required()
27 .try_get_matches_from(vec!["", "-f", "-c"]) in flag_required_2()
38 .try_get_matches_from(vec!["", "-f", "val"]); in option_required()
49 .try_get_matches_from(vec!["", "-f", "val", "-c", "other_val"]) in option_required_2()
64 .try_get_matches_from(vec![""]); in positional_required()
74 .try_get_matches_from(vec!["", "someval"]) in positional_required_2()
153 .try_get_matches_from(vec!["", "-f"]); in group_required()
166 .try_get_matches_from(vec!["", "-f", "--some"]) in group_required_2()
180 .try_get_matches_from(vec!["", "-f", "--other"]) in group_required_3()
194 .try_get_matches_from(vec!["", "-f"]); in arg_require_group()
[all …]
Dmultiple_values.rs14 .try_get_matches_from(vec![ in option_long()
42 .try_get_matches_from(vec!["", "-o", "val1", "-o", "val2", "-o", "val3"]); in option_short()
69 .try_get_matches_from(vec![ in option_mixed()
96 .try_get_matches_from(vec![ in option_exact_exact()
122 .try_get_matches_from(vec!["", "-o", "val1", "val2", "val3"]); in option_exact_exact_not_mult()
147 .try_get_matches_from(vec![ in option_exact_exact_mult()
174 .try_get_matches_from(vec!["", "-o", "val1", "-o", "val2"]); in option_exact_less()
190 .try_get_matches_from(vec![ in option_exact_more()
208 .try_get_matches_from(vec!["", "-o", "val1", "val2", "val3"]); in option_min_exact()
233 .try_get_matches_from(vec!["", "-o", "val1", "val2"]); in option_min_less()
[all …]
Ddefault_vals.rs16 .try_get_matches_from(vec![""]); in opts()
34 .try_get_matches_from(vec![""]); in default_has_index()
49 .try_get_matches_from(vec!["", "-o"]); in opt_without_value_fail()
62 .try_get_matches_from(vec!["", "--opt", "value"]); in opt_user_override()
80 .try_get_matches_from(vec![""]); in positionals()
98 .try_get_matches_from(vec!["", "value"]); in positional_user_override()
121 .try_get_matches_from(vec![""]); in osstr_opts()
138 .try_get_matches_from(vec!["", "--opt", "value"]); in osstr_opt_user_override()
155 .try_get_matches_from(vec![""]); in osstr_positionals()
172 .try_get_matches_from(vec!["", "value"]); in osstr_positional_user_override()
[all …]
Dapp_settings.rs34 .try_get_matches_from(vec!["myprog", "sub1"]) in sub_command_negate_required()
44 .try_get_matches_from(vec![""]); in sub_command_negate_required_2()
55 .try_get_matches_from(vec![""]); in sub_command_required()
84 .try_get_matches_from(vec![""]); in arg_required_else_help()
99 .try_get_matches_from(vec![""]); in arg_required_else_help_over_req_arg()
115 .try_get_matches_from(vec![""]); in arg_required_else_help_over_req_subcommand()
130 .try_get_matches_from(vec![""]); in arg_required_else_help_with_default()
176 .try_get_matches_from(vec!["prog", "te"]); in infer_subcommands_fail_no_args()
188 .try_get_matches_from(vec!["prog", "te"]); in infer_subcommands_fail_no_args()
200 .try_get_matches_from(vec!["prog", "t"]); in infer_subcommands_fail_with_args()
[all …]
Dutf8.rs11 .try_get_matches_from(vec![OsString::from(""), OsString::from_vec(vec![0xe9])]); in invalid_utf8_strict_positional()
25 .try_get_matches_from(vec![ in invalid_utf8_strict_option_short_space()
43 .try_get_matches_from(vec![ in invalid_utf8_strict_option_short_equals()
60 .try_get_matches_from(vec![ in invalid_utf8_strict_option_short_no_space()
77 .try_get_matches_from(vec![ in invalid_utf8_strict_option_long_space()
95 .try_get_matches_from(vec![ in invalid_utf8_strict_option_long_equals()
105 let m = Command::new("bad_utf8").try_get_matches_from(vec![ in invalid_utf8_strict_invalid_short()
116 let m = Command::new("bad_utf8").try_get_matches_from(vec![ in invalid_utf8_strict_invalid_long()
129 .try_get_matches_from(vec![OsString::from(""), OsString::from_vec(vec![0xe9])]); in invalid_utf8_positional()
149 .try_get_matches_from(vec![ in invalid_utf8_option_short_space()
[all …]
Dsubcommands.rs18 .try_get_matches_from(vec!["myprog", "some", "--test", "testing"]) in subcommand()
43 .try_get_matches_from(vec![""]) in subcommand_none_given()
63 .try_get_matches_from(vec!["myprog", "some", "--test", "testing"]) in subcommand_multiple()
81 .try_get_matches_from(vec!["myprog", "do-stuff"]) in single_alias()
90 .try_get_matches_from(vec!["myprog", "test-stuff"]) in multiple_aliases()
179 .try_get_matches_from(vec!["myprog", "help", "do-stuff"]); in alias_help()
236 .try_get_matches_from(vec!["prog", "install"]) in replace()
251 .try_get_matches_from(vec!["prog", "--ui-path", "signer"]); in issue_1031_args_with_same_name()
266 .try_get_matches_from(vec!["prog", "--ui-path", "value", "signer"]); in issue_1031_args_with_same_name_no_more_vals()
289 .try_get_matches_from(vec![ in issue_1161_multiple_hyphen_hyphen()
[all …]
Dopts.rs16 .try_get_matches_from(vec!["prog", "--config", "file.conf"]); in require_equals_fail()
50 .try_get_matches_from(vec!["prog", "--config", "cmd"]); in require_equals_min_values_zero()
66 .try_get_matches_from(vec!["prog", "--config", "--"]); in double_hyphen_as_value()
85 .try_get_matches_from(vec!["prog", "--config=", "file.conf"]); in require_equals_no_empty_values_fail()
99 .try_get_matches_from(vec!["prog", "--config="]); in require_equals_empty_vals_pass()
112 .try_get_matches_from(vec!["prog", "--config=file.conf"]); in require_equals_pass()
120 .try_get_matches_from(vec!["", "-f", "-"]); in stdin_char()
134 .try_get_matches_from(vec!["", "-f", "some", "-c", "other"]); in opts_using_short()
153 .try_get_matches_from(vec![ in lots_o_vals()
196 .try_get_matches_from(vec!["", "--flag", "some", "--color", "other"]); in opts_using_long_space()
[all …]
Dmultiple_occurrences.rs9 .try_get_matches_from(vec!["", "--multflag", "--flag", "--multflag"]) in multiple_occurrences_of_flags_long()
23 .try_get_matches_from(vec!["", "-m", "-f", "-m"]) in multiple_occurrences_of_flags_short()
37 .try_get_matches_from(["test"]) in multiple_occurrences_of_positional()
44 .try_get_matches_from(["test", "one"]) in multiple_occurrences_of_positional()
57 .try_get_matches_from(["test", "one", "two", "three", "four"]) in multiple_occurrences_of_positional()
78 let m = cmd.clone().try_get_matches_from(args).unwrap(); in multiple_occurrences_of_flags_large_quantity()
86 let m = cmd.try_get_matches_from(args).unwrap(); in multiple_occurrences_of_flags_large_quantity()
102 let m = cmd.clone().try_get_matches_from(vec![""]); in multiple_occurrences_of_before_env()
107 let m = cmd.clone().try_get_matches_from(vec!["", "-v"]); in multiple_occurrences_of_before_env()
112 let m = cmd.clone().try_get_matches_from(vec!["", "-vv"]); in multiple_occurrences_of_before_env()
[all …]
Dposix_compatible.rs12 .try_get_matches_from(vec!["", "--flag", "--flag"]); in flag_overrides_itself()
26 .try_get_matches_from(vec!["", "--opt=some", "--opt=other"]); in option_overrides_itself()
45 .try_get_matches_from(vec!["", "--flag", "--color"]) in posix_compatible_flags_long()
60 .try_get_matches_from(vec!["", "--color", "--flag"]) in posix_compatible_flags_long_rev()
75 .try_get_matches_from(vec!["", "-f", "-c"]) in posix_compatible_flags_short()
90 .try_get_matches_from(vec!["", "-c", "-f"]) in posix_compatible_flags_short_rev()
101 .try_get_matches_from(vec!["", "--flag", "some", "--color", "other"]) in posix_compatible_opts_long()
116 .try_get_matches_from(vec!["", "--color", "some", "--flag", "other"]) in posix_compatible_opts_long_rev()
131 .try_get_matches_from(vec!["", "--flag=some", "--color=other"]) in posix_compatible_opts_long_equals()
146 .try_get_matches_from(vec!["", "--color=some", "--flag=other"]) in posix_compatible_opts_long_equals_rev()
[all …]
Dversion.rs27 let res = common().try_get_matches_from("foo -V".split(' ')); in version_short_flag_no_version()
36 let res = common().try_get_matches_from("foo --version".split(' ')); in version_long_flag_no_version()
45 let res = with_version().try_get_matches_from("foo -V".split(' ')); in version_short_flag_with_version()
55 let res = with_version().try_get_matches_from("foo --version".split(' ')); in version_long_flag_with_version()
65 let res = with_long_version().try_get_matches_from("foo -V".split(' ')); in version_short_flag_with_long_version()
75 let res = with_long_version().try_get_matches_from("foo --version".split(' ')); in version_long_flag_with_long_version()
85 let res = with_both().try_get_matches_from("foo -V".split(' ')); in version_short_flag_with_both()
95 let res = with_both().try_get_matches_from("foo --version".split(' ')); in version_long_flag_with_both()
246 let res = with_subcommand().try_get_matches_from("foo bar --version".split(' ')); in no_propagation_by_default_long()
255 let res = with_subcommand().try_get_matches_from("foo bar -V".split(' ')); in no_propagation_by_default_short()
[all …]
Dglobal_args.rs40 .try_get_matches_from(["foo", "sub1", "--arg1", "v1", "sub1a"]) in propagate_global_arg_in_subcommand_to_subsubcommand_1385()
65 .try_get_matches_from([ in propagate_global_arg_to_subcommand_in_subsubcommand_2053()
100 .try_get_matches_from(["opt", "ping", "--global"]) in global_arg_available_in_subcommand()
126 .try_get_matches_from(["a", "b", "c", "d", "--long-a", "--long-b", "--long-c"]) in deeply_nested_discovery()
147 let m = cmd.clone().try_get_matches_from(["test"]).unwrap(); in global_overrides_default()
155 .try_get_matches_from(["test", "--name", "from_arg"]) in global_overrides_default()
161 .try_get_matches_from(["test", "--name", "from_arg", "sub"]) in global_overrides_default()
167 .try_get_matches_from(["test", "sub", "--name", "from_arg"]) in global_overrides_default()
187 let m = cmd.clone().try_get_matches_from(["test"]).unwrap(); in global_overrides_env()
192 .try_get_matches_from(["test", "--name", "from_arg"]) in global_overrides_env()
[all …]
Dpositionals.rs7 .try_get_matches_from(vec!["", "--", "-f"]); in only_pos_follow()
29 .try_get_matches_from(vec!["compiletest", "--exact"]); in issue_946()
47 .try_get_matches_from(vec!["", "-f", "test"]); in positional()
64 .try_get_matches_from(vec!["", "test", "--flag"]) in positional()
80 .try_get_matches_from(vec![ in lots_o_vals()
126 .try_get_matches_from(vec!["", "-f", "test1", "test2", "test3"]); in positional_multiple()
150 .try_get_matches_from(vec!["", "test1", "test2", "test3", "--flag"]); in positional_multiple_3()
168 .try_get_matches_from(vec!["", "-f", "test1", "test2", "test3"]); in positional_multiple_2()
181 .try_get_matches_from(vec!["", "-f", "test123"]); in positional_possible_values()
199 .try_get_matches_from(vec![""]) in create_positional()
[all …]
Dempty_values.rs10 .try_get_matches_from(["config", "--config", ""]) in empty_values()
19 .try_get_matches_from(["config", "--config="]) in empty_values_with_equals()
25 .try_get_matches_from(["config", "-c="]) in empty_values_with_equals()
39 .try_get_matches_from(["config", "--config", ""]); in no_empty_values()
50 .try_get_matches_from(["config", "-c", ""]); in no_empty_values()
64 .try_get_matches_from(["config", "--config="]); in no_empty_values_with_equals()
75 .try_get_matches_from(["config", "-c="]); in no_empty_values_with_equals()
89 .try_get_matches_from(["config", "--config"]); in no_empty_values_without_equals()
100 .try_get_matches_from(["config", "-c"]); in no_empty_values_without_equals()
115 let m = cmd.clone().try_get_matches_from(["config", "--config"]); in no_empty_values_without_equals_but_requires_equals()
Ddefault_missing_vals.rs14 .try_get_matches_from(vec![""]); in opt_missing()
40 .try_get_matches_from(vec!["", "--color"]); in opt_present_with_missing_value()
66 .try_get_matches_from(vec!["", "--color=never"]); in opt_present_with_value()
91 .try_get_matches_from(vec!["", "--color="]); in opt_present_with_empty_value()
117 .try_get_matches_from(vec![""]); in opt_default()
136 .try_get_matches_from(vec!["", "-o=value"]); in opt_default_user_override()
155 .try_get_matches_from(vec!["", "-o", "-o=value", "-o"]); in default_missing_value_per_occurrence()
179 let m = cmd.clone().try_get_matches_from(["test"]).unwrap(); in default_missing_value_flag_value()
192 .try_get_matches_from(["test", "--flag"]) in default_missing_value_flag_value()
206 .try_get_matches_from(["test", "--flag=true"]) in default_missing_value_flag_value()
[all …]
Dpossible_values.rs10 .try_get_matches_from(vec!["myprog", "test123"]); in possible_values_of_positional()
32 .try_get_matches_from(vec!["myprog", "test123"]); in possible_value_arg_value()
48 .try_get_matches_from(vec!["myprog", "notest"]); in possible_values_of_positional_fail()
64 .try_get_matches_from(vec!["myprog", "test123", "test321"]); in possible_values_of_positional_multiple()
89 .try_get_matches_from(vec!["myprog", "test123", "notest"]); in possible_values_of_positional_multiple_fail()
105 .try_get_matches_from(vec!["myprog", "--option", "test123"]); in possible_values_of_option()
127 .try_get_matches_from(vec!["myprog", "--option", "notest"]); in possible_values_of_option_fail()
144 .try_get_matches_from(vec!["", "--option", "test123", "--option", "test321"]); in possible_values_of_option_multiple()
170 .try_get_matches_from(vec!["", "--option", "test123", "--option", "notest"]); in possible_values_of_option_multiple_fail()
360 .try_get_matches_from(vec!["pv", "--option", "123"]); in alias()
[all …]
Denv.rs18 .try_get_matches_from(vec![""]); in env()
60 .try_get_matches_from(vec![""]); in env_bool_literal()
79 .try_get_matches_from(vec![""]); in env_os()
102 .try_get_matches_from(vec![""]); in no_env()
119 .try_get_matches_from(vec![""]); in no_env_no_takes_value()
139 .try_get_matches_from(vec![""]); in with_default()
164 .try_get_matches_from(vec!["", "--arg", "opt"]); in opt_user_override()
197 .try_get_matches_from(vec![""]); in positionals()
222 .try_get_matches_from(vec!["", "opt"]); in positionals_user_override()
257 .try_get_matches_from(vec![""]); in multiple_one()
[all …]
Dflags.rs13 .try_get_matches_from(vec!["", "-f", "-c"]) in flag_using_short()
24 .try_get_matches_from(vec![ in lots_o_flags_sep()
59 .try_get_matches_from(vec![ in lots_o_flags_combined()
80 .try_get_matches_from(vec!["", "--flag", "--color"]) in flag_using_long()
96 .try_get_matches_from(vec!["", "--rainbow=false"]); in flag_using_long_with_literals()
108 .try_get_matches_from(vec!["", "-f", "--color"]) in flag_using_mixed()
118 .try_get_matches_from(vec!["", "--flag", "-c"]) in flag_using_mixed()
132 .try_get_matches_from(vec!["", "-fcd"]) in multiple_flags_in_single()
176 .try_get_matches_from(vec!["", "--", "--another-flag"]) in issue_1284_argument_in_flag_style()
185 .try_get_matches_from(vec!["", "--a-flag"]) in issue_1284_argument_in_flag_style()
[all …]
Darg_aliases_short.rs15 .try_get_matches_from(vec!["", "-a", "cool"]); in single_short_alias_of_option()
36 .try_get_matches_from(vec!["", "--aliases", "value"]); in multiple_short_aliases_of_option()
40 let als1 = a.clone().try_get_matches_from(vec!["", "-1", "value"]); in multiple_short_aliases_of_option()
44 let als2 = a.clone().try_get_matches_from(vec!["", "-2", "value"]); in multiple_short_aliases_of_option()
48 let als3 = a.clone().try_get_matches_from(vec!["", "-3", "value"]); in multiple_short_aliases_of_option()
91 .try_get_matches_from(vec!["", "-f"]); in single_short_alias_of_flag()
106 let flag = a.clone().try_get_matches_from(vec!["", "--flag"]); in multiple_short_aliases_of_flag()
110 let als1 = a.clone().try_get_matches_from(vec!["", "-a"]); in multiple_short_aliases_of_flag()
114 let als2 = a.clone().try_get_matches_from(vec!["", "-b"]); in multiple_short_aliases_of_flag()
118 let als3 = a.clone().try_get_matches_from(vec!["", "-c"]); in multiple_short_aliases_of_flag()
[all …]
Dindices.rs20 .try_get_matches_from(vec!["ind", "-e", "A", "B", "-i", "B", "C", "-e", "C"]) in indices_mult_opts()
47 .try_get_matches_from(vec!["ind", "-e", "A", "B", "-i", "B", "C", "-e", "C"]) in index_mult_opts()
60 .try_get_matches_from(vec!["ind", "-e", "-i"]) in index_flag()
73 .try_get_matches_from(vec!["ind", "-e", "-i", "-e", "-e", "-i"]) in index_flags()
86 .try_get_matches_from(vec!["ind", "-e", "-i", "-e", "-e", "-i"]) in indices_mult_flags()
99 .try_get_matches_from(vec!["ind", "-eieei"]) in indices_mult_flags_combined()
113 .try_get_matches_from(vec!["ind", "-eieeio", "val"]) in indices_mult_flags_opt_combined()
128 .try_get_matches_from(vec!["ind", "-eieeio=val"]) in indices_mult_flags_opt_combined_eq()
147 .try_get_matches_from(vec!["myapp", "-o=val1,val2,val3"]) in indices_mult_opt_value_delim_eq()
165 .try_get_matches_from(vec!["myapp", "-o=val1,val2,val3"]) in indices_mult_opt_value_no_delim_eq()
[all …]
Dgroups.rs11 .try_get_matches_from(vec![""]); in required_group_missing_arg()
25 .try_get_matches_from(vec![""]); in non_existing_arg()
37 .try_get_matches_from(vec![""]); in unique_group_name()
46 .try_get_matches_from(vec!["", "--a"]); in groups_new_of_arg_name()
56 .try_get_matches_from(vec!["", "--a"]); in arg_group_new_of_arg_name()
65 .try_get_matches_from(vec!["", "-c", "blue"]); in group_single_value()
80 .try_get_matches_from(vec![""]); in group_empty()
99 .try_get_matches_from(vec![""]); in group_required_flags_empty()
112 .try_get_matches_from(vec!["", "-c", "blue", "red", "green"]); in group_multi_value_single_arg()
125 .try_get_matches_from(vec!["empty_prog"]); in empty_group()
[all …]
Darg_aliases.rs15 .try_get_matches_from(vec!["", "--new-opt", "cool"]); in single_alias_of_option()
36 .try_get_matches_from(vec!["", "--aliases", "value"]); in multiple_aliases_of_option()
42 .try_get_matches_from(vec!["", "--alias1", "value"]); in multiple_aliases_of_option()
48 .try_get_matches_from(vec!["", "--alias2", "value"]); in multiple_aliases_of_option()
54 .try_get_matches_from(vec!["", "--alias3", "value"]); in multiple_aliases_of_option()
128 .try_get_matches_from(vec!["", "--alias"]); in single_alias_of_flag()
143 let flag = a.clone().try_get_matches_from(vec!["", "--flag"]); in multiple_aliases_of_flag()
147 let inv = a.clone().try_get_matches_from(vec!["", "--invisible"]); in multiple_aliases_of_flag()
151 let cool = a.clone().try_get_matches_from(vec!["", "--cool"]); in multiple_aliases_of_flag()
155 let als = a.clone().try_get_matches_from(vec!["", "--aliases"]); in multiple_aliases_of_flag()
[all …]
Doccurrences.rs20 .try_get_matches_from([ in grouped_value_works()
52 .try_get_matches_from([ in issue_1026()
80 .try_get_matches_from(vec![ in grouped_value_long_flag_delimiter()
110 .try_get_matches_from(vec!["myapp", "-o=foo", "-o=val1,val2,val3", "-o=bar"]) in grouped_value_short_flag_delimiter()
128 .try_get_matches_from(vec![ in grouped_value_positional_arg()
149 .try_get_matches_from(vec![ in grouped_value_multiple_positional_arg()
171 .try_get_matches_from(vec![ in grouped_value_multiple_positional_arg_last_multiple()
195 .try_get_matches_from(["foo", "1", "2", "-f", "a", "3", "-f", "b", "4"]) in grouped_interleaved_positional_values()
218 .try_get_matches_from(["foo", "1", "2", "-f", "a", "3", "-f", "b", "4"]) in grouped_interleaved_positional_occurrences()
256 let _ = schema.clone().try_get_matches_from(argv).unwrap(); in issue_2171()
Dconflicts.rs11 .try_get_matches_from(vec!["myprog", "-f", "-o"]); in flag_conflict()
22 .try_get_matches_from(vec!["myprog", "-o", "-f"]); in flag_conflict_2()
33 .try_get_matches_from(vec!["myprog", "-o", "-f"]); in flag_conflict_with_all()
44 let result = cmd.clone().try_get_matches_from(vec!["myprog", "-f"]); in exclusive_flag()
47 let result = cmd.clone().try_get_matches_from(vec!["myprog", "-o", "-f"]); in exclusive_flag()
58 .try_get_matches_from(vec!["myprog", "-o=val1", "-f=val2"]); in exclusive_option()
73 .try_get_matches_from(vec!["myprog", "-f=val2"]); in not_exclusive_with_defaults()
87 let result = cmd.try_get_matches_from(vec!["test", "--foo"]); in not_exclusive_with_group()
100 .try_get_matches_from(vec!["myprog"]); in default_doesnt_activate_exclusive()
466 .try_get_matches_from(vec!["", "--develop", "--production"]); in two_conflicting_arguments()
[all …]

12