Home
last modified time | relevance | path

Searched refs:allow_hyphen_values (Results 1 - 7 of 7) sorted by relevance

/third_party/rust/crates/clap/tests/builder/
H A Dopts.rs63 .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 Dapp_settings.rs440 .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 Dpositionals.rs26 .allow_hyphen_values(true) in issue_946()
342 .allow_hyphen_values(true), in ignore_hyphen_values_on_last()
H A Dmultiple_values.rs1388 .allow_hyphen_values(true) in multiple_vals_with_hyphen()
/third_party/rust/crates/clap/clap_bench/benches/
H A D05_ripgrep.rs329 .allow_hyphen_values(true) in cmd()
/third_party/rust/crates/clap/src/builder/
H A Darg.rs500 /// 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 Dcommand.rs2017 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