Home
last modified time | relevance | path

Searched refs:long_version (Results 1 – 5 of 5) sorted by relevance

/third_party/rust/crates/clap/src/builder/
Dcommand.rs79 long_version: Option<Str>, field
1652 pub fn long_version(mut self, ver: impl IntoResettable<Str>) -> Self { in long_version() method
1653 self.long_version = ver.into_resettable().into_option(); in long_version()
3255 self.long_version.as_deref() in get_long_version()
3578 || (self.version.is_none() && self.long_version.is_none()) in is_disable_version_flag_set()
4218 if let Some(long_version) = self.long_version.as_ref() { in _propagate_subcommand()
4219 sc.long_version.get_or_insert_with(|| long_version.clone()); in _propagate_subcommand()
4280 help_help_subcmd.long_version = None; in _check_help_and_version()
4300 help_subcmd.long_version = None; in _check_help_and_version()
4326 self.long_version in _render_version()
[all …]
/third_party/rust/crates/clap/src/bin/
Dstdio-fixture.rs4 .long_version("1.0 - a2132c") in main()
/third_party/rust/crates/clap/tests/builder/
Dversion.rs14 common().long_version("3.0 (abcdefg)") in with_long_version()
18 common().version("3.0").long_version("3.0 (abcdefg)") in with_both()
/third_party/rust/crates/clap/tests/
Dmacros.rs171 fn long_version() { in long_version() function
/third_party/rust/crates/clap/
DCHANGELOG.md1439 - Only generate version flags when `App::version`, `App::long_version` are set
1946 * `App::long_version`