Home
last modified time | relevance | path

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

/third_party/rust/crates/clap/tests/builder/
H A Dversion.rs9 fn with_version() -> Command { in with_version() functions
22 with_version().subcommand(Command::new("bar").subcommand(Command::new("baz"))) in with_subcommand()
45 let res = with_version().try_get_matches_from("foo -V".split(' ')); in version_short_flag_with_version()
55 let res = with_version().try_get_matches_from("foo --version".split(' ')); in version_long_flag_with_version()
142 let cmd = with_version(); in help_short_flag_with_version()
157 let cmd = with_version(); in help_long_flag_with_version()
225 with_version() in override_version_long_with_user_flag()
238 with_version() in override_version_short_with_user_flag()

Completed in 2 milliseconds