Searched refs:allow_hyphen_values (Results 1 - 7 of 7) sorted by relevance
/third_party/rust/crates/clap/tests/builder/ |
H A D | opts.rs | 63 .allow_hyphen_values(true) in double_hyphen_as_value() 353 .allow_hyphen_values(true), in leading_hyphen_pass() 385 .allow_hyphen_values(true), in leading_hyphen_with_flag_after() 405 .arg(arg!(o: -o [opt] ... "some opt").allow_hyphen_values(true)) in leading_hyphen_with_flag_before() 427 .allow_hyphen_values(true), in leading_hyphen_with_only_pos_follows()
|
H A D | app_settings.rs | 440 .arg(Arg::new("some").allow_hyphen_values(true)) in leading_hyphen_short() 460 .arg(Arg::new("some").allow_hyphen_values(true)) in leading_hyphen_long() 484 .allow_hyphen_values(true), in leading_hyphen_opt() 595 .allow_hyphen_values(true), in assert_trailing_var_args() 816 .allow_hyphen_values(true), in issue_1066_allow_leading_hyphen_and_unknown_args_option() 829 .allow_hyphen_values(true) in issue_1437_allow_hyphen_values_for_positional_arg() 846 .allow_hyphen_values(true) in issue_3880_allow_long_flag_hyphen_value_for_positional_arg()
|
H A D | positionals.rs | 26 .allow_hyphen_values(true) in issue_946() 342 .allow_hyphen_values(true), in ignore_hyphen_values_on_last()
|
H A D | multiple_values.rs | 1388 .allow_hyphen_values(true) in multiple_vals_with_hyphen()
|
/third_party/rust/crates/clap/clap_bench/benches/ |
H A D | 05_ripgrep.rs | 329 .allow_hyphen_values(true) in cmd()
|
/third_party/rust/crates/clap/src/builder/ |
H A D | arg.rs | 500 /// value), set [`allow_hyphen_values`][Arg::allow_hyphen_values]. Either way, users still 1326 /// **WARNING:** Prior arguments with `allow_hyphen_values(true)` get precedence over known 1328 /// `allow_hyphen_values(true)`. When combined with [`Arg::num_args(..)`], 1343 /// .allow_hyphen_values(true) 1352 /// Not setting `Arg::allow_hyphen_values(true)` and supplying a value which starts with a 1371 pub fn allow_hyphen_values(self, yes: bool) -> Self { in allow_hyphen_values() functions 1381 /// This is similar to [`Arg::allow_hyphen_values`] except that it only allows numbers, 1538 /// .allow_hyphen_values(true) 1575 /// [`Arg::allow_hyphen_values(tru [all...] |
H A D | command.rs | 2017 deprecated(since = "4.0.0", note = "Replaced with `Arg::allow_hyphen_values`") 2019 pub fn allow_hyphen_values(self, yes: bool) -> Self { in allow_hyphen_values() functions
|
Completed in 14 milliseconds