Lines Matching full:some
54 assert_eq!(m.get_one::<String>("cmd").map(|v| v.as_str()), Some("cmd")); in require_equals_min_values_zero()
70 Some("--") in double_hyphen_as_value()
84 .arg(Arg::new("some")) in require_equals_no_empty_values_fail()
119 .arg(arg!(f: -f [flag] "some flag")) in stdin_char()
131 arg!(f: -f [flag] "some flag"), in opts_using_short()
132 arg!(c: -c [color] "some other flag"), in opts_using_short()
134 .try_get_matches_from(vec!["", "-f", "some", "-c", "other"]); in opts_using_short()
140 "some" in opts_using_short()
152 .arg(arg!(o: -o <opt> "some opt").num_args(1..).required(true)) in lots_o_vals()
154 "", "-o", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
155 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
156 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
157 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
158 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
159 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
160 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
161 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
162 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
163 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
164 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
165 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
166 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
167 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
168 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
169 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
170 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
171 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
172 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
173 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
174 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
175 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
176 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
177 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
178 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
179 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
180 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals()
181 "some", "some", in lots_o_vals()
193 arg!(--flag [flag] "some flag"), in opts_using_long_space()
194 arg!(--color [color] "some other flag"), in opts_using_long_space()
196 .try_get_matches_from(vec!["", "--flag", "some", "--color", "other"]); in opts_using_long_space()
202 "some" in opts_using_long_space()
215 arg!(--flag [flag] "some flag"), in opts_using_long_equals()
216 arg!(--color [color] "some other flag"), in opts_using_long_equals()
218 .try_get_matches_from(vec!["", "--flag=some", "--color=other"]); in opts_using_long_equals()
224 "some" in opts_using_long_equals()
237 arg!(-f --flag [flag] "some flag"), in opts_using_mixed()
238 arg!(-c --color [color] "some other flag"), in opts_using_mixed()
240 .try_get_matches_from(vec!["", "-f", "some", "--color", "other"]); in opts_using_mixed()
246 "some" in opts_using_mixed()
259 arg!(-f --flag [flag] "some flag"), in opts_using_mixed2()
260 arg!(-c --color [color] "some other flag"), in opts_using_mixed2()
262 .try_get_matches_from(vec!["", "--flag=some", "-c", "other"]); in opts_using_mixed2()
268 "some" in opts_using_mixed2()
280 .arg(arg!(o: -o [opt] "some opt").default_value("default")) in default_values_user_value()
294 .arg(arg!(o: -o [opt] ... "some opt")) in multiple_vals_pos_arg_equals()
295 .arg(arg!([file] "some file")) in multiple_vals_pos_arg_equals()
296 .try_get_matches_from(vec!["", "-o=1", "some"]); in multiple_vals_pos_arg_equals()
304 "some" in multiple_vals_pos_arg_equals()
311 .arg(arg!(o: -o [opt] ... "some opt").value_delimiter(',')) in require_delims_no_delim()
312 .arg(arg!([file] "some file")) in require_delims_no_delim()
313 .try_get_matches_from(vec!["mvae", "-o", "1", "2", "some"]); in require_delims_no_delim()
323 arg!(o: -o <opt> "some opt") in require_delims()
327 .arg(arg!([file] "some file")) in require_delims()
328 .try_get_matches_from(vec!["", "-o", "1,2", "some"]); in require_delims()
342 "some" in require_delims()
350 arg!(o: -o <opt> "some opt") in leading_hyphen_pass()
371 .arg(arg!(o: -o <opt> "some opt").required(true)) in leading_hyphen_fail()
382 arg!(o: -o <opt> "some opt") in leading_hyphen_with_flag_after()
387 .arg(arg!(f: -f "some flag").action(ArgAction::SetTrue)) in leading_hyphen_with_flag_after()
405 .arg(arg!(o: -o [opt] ... "some opt").allow_hyphen_values(true)) in leading_hyphen_with_flag_before()
406 .arg(arg!(f: -f "some flag").action(ArgAction::SetTrue)) in leading_hyphen_with_flag_before()
425 arg!(o: -o [opt] ... "some opt") in leading_hyphen_with_only_pos_follows()
429 .arg(arg!([arg] "some arg")) in leading_hyphen_with_only_pos_follows()
441 assert_eq!(m.get_one::<String>("arg").map(|v| v.as_str()), Some("val")); in leading_hyphen_with_only_pos_follows()
477 Some("default") in issue_1047_min_zero_vals_default_val()
483 .arg(arg!(-o --option <opt> "some option").required(true)) in issue_1105_setup()
484 .arg(arg!(--flag "some flag")) in issue_1105_setup()
500 assert_eq!(m.get_one::<String>("option").map(|v| v.as_str()), Some("")); in issue_1105_empty_value_long_explicit()
508 assert_eq!(m.get_one::<String>("option").map(|v| v.as_str()), Some("")); in issue_1105_empty_value_long_equals()
523 assert_eq!(m.get_one::<String>("option").map(|v| v.as_str()), Some("")); in issue_1105_empty_value_short_explicit()
531 assert_eq!(m.get_one::<String>("option").map(|v| v.as_str()), Some("")); in issue_1105_empty_value_short_equals()
539 assert_eq!(m.get_one::<String>("option").map(|v| v.as_str()), Some("")); in issue_1105_empty_value_short_explicit_no_space()
626 .next_help_heading(Some("test")) in issue_2022_get_flags_misuse()
636 .next_help_heading(Some("This causes default_value to be ignored")) in issue_2279()
644 Some("bar") in issue_2279()
648 .next_help_heading(Some("This causes default_value to be ignored")) in issue_2279()
657 Some("bar") in issue_2279()
682 Some("hello") in infer_long_arg()