• Home
  • Raw
  • Download

Lines Matching refs:is_set

666         if self.settings.is_set(AppSettings::Multicall) {  in try_get_matches_from_mut()
694 if !self.settings.is_set(AppSettings::NoBinaryName) { in try_get_matches_from_mut()
3346 pub(crate) fn is_set(&self, s: AppSettings) -> bool { in is_set() method
3347 self.settings.is_set(s) || self.g_settings.is_set(s) in is_set()
3355 if self.is_set(AppSettings::ColorNever) { in get_color()
3358 } else if self.is_set(AppSettings::ColorAlways) { in get_color()
3562 self.is_set(AppSettings::NoBinaryName) in is_no_binary_name_set()
3567 self.is_set(AppSettings::IgnoreErrors) in is_ignore_errors_set()
3572 self.is_set(AppSettings::DontDelimitTrailingValues) in is_dont_delimit_trailing_values_set()
3577 self.is_set(AppSettings::DisableVersionFlag) in is_disable_version_flag_set()
3583 self.is_set(AppSettings::PropagateVersion) in is_propagate_version_set()
3588 self.is_set(AppSettings::NextLineHelp) in is_next_line_help_set()
3593 self.is_set(AppSettings::DisableHelpFlag) in is_disable_help_flag_set()
3598 self.is_set(AppSettings::DisableHelpSubcommand) in is_disable_help_subcommand_set()
3603 self.is_set(AppSettings::DisableColoredHelp) in is_disable_colored_help_set()
3609 self.is_set(AppSettings::HelpExpected) in is_help_expected_set()
3623 self.is_set(AppSettings::InferLongArgs) in is_infer_long_args_set()
3628 self.is_set(AppSettings::InferSubcommands) in is_infer_subcommands_set()
3633 self.is_set(AppSettings::ArgRequiredElseHelp) in is_arg_required_else_help_set()
3645 self.is_set(AppSettings::AllowHyphenValues) in is_allow_hyphen_values_set()
3657 self.is_set(AppSettings::AllowNegativeNumbers) in is_allow_negative_numbers_set()
3666 self.is_set(AppSettings::TrailingVarArg) in is_trailing_var_arg_set()
3671 self.is_set(AppSettings::AllowMissingPositional) in is_allow_missing_positional_set()
3676 self.is_set(AppSettings::Hidden) in is_hide_set()
3681 self.is_set(AppSettings::SubcommandRequired) in is_subcommand_required_set()
3686 self.is_set(AppSettings::AllowExternalSubcommands) in is_allow_external_subcommands_set()
3710 self.is_set(AppSettings::ArgsNegateSubcommands) in is_args_conflicts_with_subcommands_set()
3715 self.is_set(AppSettings::AllArgsOverrideSelf) in is_args_override_self()
3720 self.is_set(AppSettings::SubcommandPrecedenceOverArg) in is_subcommand_precedence_over_arg_set()
3725 self.is_set(AppSettings::SubcommandsNegateReqs) in is_subcommand_negates_reqs_set()
3730 self.is_set(AppSettings::Multicall) in is_multicall_set()
3797 if self.is_set(AppSettings::IgnoreErrors) { in _do_parse()
3830 if !self.settings.is_set(AppSettings::Built) { in _build_self()
3844 if self.is_set(AppSettings::ArgsNegateSubcommands) { in _build_self()
3862 let hide_pv = self.is_set(AppSettings::HidePossibleValues); in _build_self()
4015 if !self.is_set(AppSettings::BinNameBuilt) { in _build_bin_names_internal()
4128 if self.is_set(AppSettings::HelpExpected) || help_required_globally { in _panic_on_missing_help()
4214 if self.settings.is_set(AppSettings::PropagateVersion) { in _propagate_subcommand()
4267 if !self.is_set(AppSettings::DisableHelpSubcommand) { in _check_help_and_version()
4384 self.is_set(AppSettings::Built), in contains_short()
4405 .any(|sc| sc.name != "help" && !sc.is_set(AppSettings::Hidden)) in has_visible_subcommands()