Searched refs:AppSettings (Results 1 – 18 of 18) sorted by relevance
/external/rust/crates/clap/src/app/ |
D | settings.rs | 86 impl_settings! { AppSettings, 139 pub enum AppSettings { enum 1000 impl FromStr for AppSettings { implementation 1004 "disablehelpflags" => Ok(AppSettings::DisableHelpFlags), in from_str() 1005 "argrequiredelsehelp" => Ok(AppSettings::ArgRequiredElseHelp), in from_str() 1006 "argsnegatesubcommands" => Ok(AppSettings::ArgsNegateSubcommands), in from_str() 1007 "allowinvalidutf8" => Ok(AppSettings::AllowInvalidUtf8), in from_str() 1008 "allowleadinghyphen" => Ok(AppSettings::AllowLeadingHyphen), in from_str() 1009 "allowexternalsubcommands" => Ok(AppSettings::AllowExternalSubcommands), in from_str() 1010 "allownegativenumbers" => Ok(AppSettings::AllowNegativeNumbers), in from_str() [all …]
|
D | mod.rs | 23 pub use self::settings::AppSettings; 599 pub fn setting(mut self, setting: AppSettings) -> Self { in setting() 619 pub fn settings(mut self, settings: &[AppSettings]) -> Self { in settings() 642 pub fn global_setting(mut self, setting: AppSettings) -> Self { in global_setting() 665 pub fn global_settings(mut self, settings: &[AppSettings]) -> Self { in global_settings() 687 pub fn unset_setting(mut self, setting: AppSettings) -> Self { in unset_setting() 707 pub fn unset_settings(mut self, settings: &[AppSettings]) -> Self { in unset_settings() 1523 if self.p.is_set(AppSettings::WaitOnError) { in get_matches_from() 1607 if !self.p.is_set(AppSettings::Propagated) { in get_matches_from_safe_borrow() 1611 self.p.set(AppSettings::Propagated); in get_matches_from_safe_borrow() [all …]
|
D | help.rs | 12 use app::{App, AppSettings}; 172 let nlh = parser.is_set(AppSettings::NextLineHelp); in _write_parser_help() 173 let hide_v = parser.is_set(AppSettings::HidePossibleValuesInHelp); in _write_parser_help() 174 let color = parser.is_set(AppSettings::ColoredHelp); in _write_parser_help() 609 let unified_help = parser.is_set(AppSettings::UnifiedHelpMessage); in write_all_args() 666 .filter(|s| !s.p.is_set(AppSettings::Hidden)) in write_subcommands()
|
D | validator.rs | 8 use app::settings::AppSettings as AS;
|
D | usage.rs | 6 use app::settings::AppSettings as AS;
|
D | parser.rs | 22 use app::settings::AppSettings as AS;
|
/external/rust/crates/structopt/examples/ |
D | no_version.rs | 3 use structopt::clap::AppSettings; 10 global_settings = &[AppSettings::DisableVersion]
|
D | subcommand_aliases.rs | 3 use structopt::clap::AppSettings; 8 #[structopt(setting = AppSettings::InferSubcommands)]
|
/external/rust/crates/structopt/tests/ |
D | issues.rs | 44 use structopt::{clap::AppSettings, StructOpt}; in issue_289() 47 #[structopt(setting = AppSettings::InferSubcommands)] in issue_289() 54 #[structopt(setting = AppSettings::InferSubcommands)] in issue_289()
|
D | non_literal_attributes.rs | 9 use structopt::clap::AppSettings; 16 #[structopt(global_settings = &[AppSettings::ColoredHelp])]
|
/external/rust/cxx/gen/cmd/src/ |
D | app.rs | 8 use clap::AppSettings; 39 .setting(AppSettings::NextLineHelp) in app()
|
/external/rust/crates/structopt-derive/src/ |
D | lib.rs | 87 ::structopt::clap::AppSettings::SubcommandRequiredElseHelp in gen_augmentation() 132 #app_var.setting(::structopt::clap::AppSettings::SubcommandRequiredElseHelp) in gen_augmentation() 457 .setting(::structopt::clap::AppSettings::SubcommandRequiredElseHelp); in gen_clap_enum() 490 ::structopt::clap::AppSettings::AllowExternalSubcommands in gen_augment_clap_enum() 524 ::structopt::clap::AppSettings::SubcommandRequiredElseHelp in gen_augment_clap_enum()
|
/external/rust/crates/clap/src/ |
D | lib.rs | 560 pub use app::{App, AppSettings};
|
D | macros.rs | 684 ($builder.setting($crate::AppSettings::$setting))
|
/external/rust/crates/structopt/ |
D | CHANGELOG.md | 268 global_settings = "&[AppSettings::ColoredHelp, AppSettings::VersionlessSubcommands]" 279 #[structopt(global_settings(&[AppSettings::ColoredHelp, AppSettings::VersionlessSubcommands]))]
|
/external/rust/crates/clap/ |
D | CHANGELOG.md | 47 * There is a new setting to disable automatic building of `--help` and `-h` flags (`AppSettings::Di… 260 * adds '[SUBCOMMAND]' to usage strings with only AppSettings::AllowExternalSubcommands is used wi… 303 * fixes a bug where using AppSettings::AllowHyphenValues would allow invalid arguments even when … 329 * **AppSettings::PropagateGlobalValuesDown:** this setting is no longer required to propagate valu… 413 * **App::template:** adds details about the necessity to use AppSettings::UnifiedHelpMessage when … 433 * **App::template:** adds details about the necessity to use AppSettings::UnifiedHelpMessage when … 600 * when `AppSettings::SubcommandsNegateReqs` and `ArgsNegateSubcommands` are used, a new more accu… 616 * now correctly shows subcommand as required in the usage string when AppSettings::SubcommandRequ… 908 * **AppSettings:** adds new setting `AppSettings::AllowNegativeNumbers` ([ab064546](https://github… 1518 * **AppSettings:** clarifies that AppSettings do not propagate ([3c8db0e9](https://github.com/kbkn… [all …]
|
D | README.md | 542 * **AppSettings::PropagateGlobalValuesDown:** this setting deprecated and is no longer required to…
|
/external/rust/crates/clap/.github/ |
D | CONTRIBUTING.md | 72 - `setting` - A new `AppSettings` variant
|