Home
last modified time | relevance | path

Searched refs:disable_version_flag (Results 1 – 10 of 10) sorted by relevance

/third_party/rust/crates/clap/src/builder/
Dtests.rs20 .disable_version_flag(true) in global_setting()
40 .disable_version_flag(true) in issue_2090()
Dcommand.rs1125 pub fn disable_version_flag(self, yes: bool) -> Self { in disable_version_flag() method
/third_party/rust/crates/clap/tests/builder/
Dhidden_args.rs234 .disable_version_flag(true) in hide_opt_args_only()
254 .disable_version_flag(true) in hide_pos_args_only()
274 .disable_version_flag(true) in hide_subcmds_only()
Dtests.rs439 let cmd = cmd.mut_subcommand("subcmd", |subcmd| subcmd.disable_version_flag(true)); in mut_subcommand_all()
Dhelp.rs1992 .disable_version_flag(true) in after_help_no_args()
2265 .disable_version_flag(true) in only_custom_heading_opts_no_args()
2285 .disable_version_flag(true) in only_custom_heading_pos_no_args()
/third_party/rust/crates/clap/tests/
Dmacros.rs159 .disable_version_flag(true) in short_version()
176 .disable_version_flag(true) in long_version()
/third_party/rust/crates/cxx/gen/cmd/src/
Dapp.rs40 .disable_version_flag(true) in app()
/third_party/rust/crates/clap/clap_bench/benches/
D05_ripgrep.rs311 .disable_version_flag(true) in cmd()
/third_party/rust/crates/clap/tests/derive/
Dhelp.rs448 #[command(disable_version_flag = true, version = "2.0.0")] in custom_version_flag()
/third_party/rust/crates/clap/
DCHANGELOG.md459 …ts, instead disable them (`Command::disable_help_flag`, `Command::disable_version_flag`) and provi…
497 `Command::disable_version_flag`) and mark the custom flags as `global(true)`. (#4056)
501 …`Command::disable_version_flag`) provide your own `Arg::new("help").long("help").action(ArgAction:…
725 - `AppSettings::NoAutoVersion` with `ArgAction` or `Command::disable_version_flag` (#3800)