Home
last modified time | relevance | path

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

/third_party/rust/crates/clap/src/builder/
Darg_settings.rs29 pub(crate) enum ArgSettings { enum
77 impl_settings! { ArgSettings, ArgFlags,
106 let m = Arg::new("setting").setting(ArgSettings::Required); in setting()
112 let m = Arg::new("unset_setting").setting(ArgSettings::Required); in unset_setting()
115 let m = m.unset_setting(ArgSettings::Required); in unset_setting()
122 .setting(ArgSettings::Required | ArgSettings::Hidden | ArgSettings::Last); in setting_bitor()
132 .setting(ArgSettings::Required) in unset_setting_bitor()
133 .setting(ArgSettings::Hidden) in unset_setting_bitor()
134 .setting(ArgSettings::Last); in unset_setting_bitor()
140 let m = m.unset_setting(ArgSettings::Required | ArgSettings::Hidden | ArgSettings::Last); in unset_setting_bitor()
Darg.rs13 use super::{ArgFlags, ArgSettings};
521 self.setting(ArgSettings::TrailingVarArg) in trailing_var_arg()
523 self.unset_setting(ArgSettings::TrailingVarArg) in trailing_var_arg()
607 self.setting(ArgSettings::Last) in last()
609 self.unset_setting(ArgSettings::Last) in last()
670 self.setting(ArgSettings::Required) in required()
672 self.unset_setting(ArgSettings::Required) in required()
775 self.setting(ArgSettings::Exclusive) in exclusive()
777 self.unset_setting(ArgSettings::Exclusive) in exclusive()
818 self.setting(ArgSettings::Global) in global()
[all …]
Dmod.rs60 pub(crate) use arg_settings::{ArgFlags, ArgSettings};
Dcommand.rs13 use crate::builder::arg_settings::ArgSettings;
3878 a.settings.set(ArgSettings::HidePossibleValues); in _build_self()
3907 arg.settings.insert(ArgSettings::AllowHyphenValues.into()); in _build_self()
3911 .insert(ArgSettings::AllowNegativeNumbers.into()); in _build_self()
3914 arg.settings.insert(ArgSettings::TrailingVarArg.into()); in _build_self()
/third_party/rust/crates/clap/
DCHANGELOG.md385 - Replacing `AppSettings` and `ArgSettings` enums with getters/setters
956 - *(builder)* `clap::ArgSettings` is deprecated and replaced with builder methods and getters (#271…
1239 - `Arg::require_equals` no longer implies `ArgSettings::ForbidEmptyValues` ([#2233](https://github.…
1240 - `Arg::require_delimiter` no longer implies `ArgSettings::TakesValue` and `ArgSettings::UseValueDe…
1243 …`Arg::case_insensitive` and `Arg::multiple_values` no longer imply `ArgSettings::TakesValue` ([#22…
1246 …e for `--option [val]...`. Now `[name]... --option [val]` results in `ArgSettings::MultipleOccurr…
1254 - Impacts `Arg::env`, `Arg::env_os`, `Arg::hide_env_values`, `ArgSettings::HideEnvValues`
1260 `ArgSettings::AllowInvalidUtf8` and `ArgMatches::value_of_os` aren't used
1268 - Removed `ArgSettings::EmptyValues` in favor of `ArgSettings::ForbidEmptyValues`
1294 - Added `#[non_exhaustive]` to `clap::{ValueHint, ErrorKind, AppSettings, ArgSettings}` ([clap-rs/c…
[all …]