Searched refs:disable_version_flag (Results 1 – 10 of 10) sorted by relevance
20 .disable_version_flag(true) in global_setting()40 .disable_version_flag(true) in issue_2090()
1125 pub fn disable_version_flag(self, yes: bool) -> Self { in disable_version_flag() method
234 .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()
439 let cmd = cmd.mut_subcommand("subcmd", |subcmd| subcmd.disable_version_flag(true)); in mut_subcommand_all()
1992 .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()
159 .disable_version_flag(true) in short_version()176 .disable_version_flag(true) in long_version()
40 .disable_version_flag(true) in app()
311 .disable_version_flag(true) in cmd()
448 #[command(disable_version_flag = true, version = "2.0.0")] in custom_version_flag()
459 …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)