/third_party/rust/crates/clap/tests/builder/ |
D | derive_order.rs | 28 .action(ArgAction::SetTrue), in no_derive_order() 36 .action(ArgAction::SetTrue), in no_derive_order() 64 .action(ArgAction::SetTrue), in derive_order() 72 .action(ArgAction::SetTrue), in derive_order() 103 .action(ArgAction::SetTrue), in derive_order_next_order() 116 .action(ArgAction::SetTrue), in derive_order_next_order() 149 .action(ArgAction::SetTrue), in derive_order_no_next_order() 161 .action(ArgAction::SetTrue), in derive_order_no_next_order() 192 .action(ArgAction::SetTrue), in derive_order_subcommand_propagate() 200 .action(ArgAction::SetTrue), in derive_order_subcommand_propagate() [all …]
|
D | flags.rs | 10 arg!(-f --flag "some flag").action(ArgAction::SetTrue), in flag_using_short() 11 arg!(-c --color "some other flag").action(ArgAction::SetTrue), in flag_using_short() 23 .arg(arg!(o: -o ... "some flag").action(ArgAction::SetTrue)) in lots_o_flags_sep() 58 .arg(arg!(o: -o ... "some flag").action(ArgAction::SetTrue)) in lots_o_flags_combined() 77 arg!(--flag "some flag").action(ArgAction::SetTrue), in flag_using_long() 78 arg!(--color "some other flag").action(ArgAction::SetTrue), in flag_using_long() 94 .action(ArgAction::SetTrue), in flag_using_long_with_literals() 105 arg!(-f --flag "some flag").action(ArgAction::SetTrue), in flag_using_mixed() 106 arg!(-c --color "some other flag").action(ArgAction::SetTrue), in flag_using_mixed() 115 arg!(-f --flag "some flag").action(ArgAction::SetTrue), in flag_using_mixed() [all …]
|
D | posix_compatible.rs | 9 .action(ArgAction::SetTrue) in flag_overrides_itself() 42 .action(ArgAction::SetTrue), in posix_compatible_flags_long() 44 .arg(arg!(--color "some other flag").action(ArgAction::SetTrue)) in posix_compatible_flags_long() 57 .action(ArgAction::SetTrue), in posix_compatible_flags_long_rev() 59 .arg(arg!(--color "some other flag").action(ArgAction::SetTrue)) in posix_compatible_flags_long_rev() 72 .action(ArgAction::SetTrue), in posix_compatible_flags_short() 74 .arg(arg!(-c --color "some other flag").action(ArgAction::SetTrue)) in posix_compatible_flags_short() 87 .action(ArgAction::SetTrue), in posix_compatible_flags_short_rev() 89 .arg(arg!(-c --color "some other flag").action(ArgAction::SetTrue)) in posix_compatible_flags_short_rev() 192 .action(ArgAction::SetTrue), in conflict_overridden() [all …]
|
D | indices.rs | 58 .arg(Arg::new("exclude").short('e').action(ArgAction::SetTrue)) in index_flag() 59 .arg(Arg::new("include").short('i').action(ArgAction::SetTrue)) in index_flag() 71 .arg(Arg::new("exclude").short('e').action(ArgAction::SetTrue)) in index_flags() 72 .arg(Arg::new("include").short('i').action(ArgAction::SetTrue)) in index_flags() 84 .arg(Arg::new("exclude").short('e').action(ArgAction::SetTrue)) in indices_mult_flags() 85 .arg(Arg::new("include").short('i').action(ArgAction::SetTrue)) in indices_mult_flags() 97 .arg(Arg::new("exclude").short('e').action(ArgAction::SetTrue)) in indices_mult_flags_combined() 98 .arg(Arg::new("include").short('i').action(ArgAction::SetTrue)) in indices_mult_flags_combined() 110 .arg(Arg::new("exclude").short('e').action(ArgAction::SetTrue)) in indices_mult_flags_opt_combined() 111 .arg(Arg::new("include").short('i').action(ArgAction::SetTrue)) in indices_mult_flags_opt_combined() [all …]
|
D | require.rs | 24 .action(ArgAction::SetTrue), in flag_required_2() 26 .arg(arg!(-c --color "third flag").action(ArgAction::SetTrue)) in flag_required_2() 162 .arg(arg!(-f --flag "some flag").action(ArgAction::SetTrue)) in group_required_2() 164 .arg(arg!(--some "some arg").action(ArgAction::SetTrue)) in group_required_2() 165 .arg(arg!(--other "other arg").action(ArgAction::SetTrue)) in group_required_2() 176 .arg(arg!(-f --flag "some flag").action(ArgAction::SetTrue)) in group_required_3() 178 .arg(arg!(--some "some arg").action(ArgAction::SetTrue)) in group_required_3() 179 .arg(arg!(--other "other arg").action(ArgAction::SetTrue)) in group_required_3() 206 .action(ArgAction::SetTrue), in arg_require_group_2() 209 .arg(arg!(--some "some arg").action(ArgAction::SetTrue)) in arg_require_group_2() [all …]
|
D | hidden_args.rs | 55 .action(ArgAction::SetTrue) in hide_short_args() 60 .action(ArgAction::SetTrue) in hide_short_args() 98 .action(ArgAction::SetTrue) in hide_short_args_long_help() 103 .action(ArgAction::SetTrue) in hide_short_args_long_help() 137 .action(ArgAction::SetTrue) in hide_long_args() 142 .action(ArgAction::SetTrue) in hide_long_args() 172 .action(ArgAction::SetTrue) in hide_long_args_short_help() 177 .action(ArgAction::SetTrue) in hide_long_args_short_help()
|
D | flag_subcommands.rs | 14 .action(ArgAction::SetTrue), in flag_subcommand_normal() 38 .action(ArgAction::SetTrue), in flag_subcommand_normal_with_alias() 60 .action(ArgAction::SetTrue), in flag_subcommand_short() 81 .action(ArgAction::SetTrue), in flag_subcommand_short_with_args() 104 .action(ArgAction::SetTrue), in flag_subcommand_short_with_alias() 178 .action(ArgAction::SetTrue), in flag_subcommand_short_with_aliases() 235 .arg(Arg::new("clean").short('c').action(ArgAction::SetTrue)), in flag_subcommand_short_after_long_arg() 255 .action(ArgAction::SetTrue), in flag_subcommand_long() 278 .action(ArgAction::SetTrue), in flag_subcommand_long_with_alias() 302 .action(ArgAction::SetTrue), in flag_subcommand_long_with_aliases() [all …]
|
D | help.rs | 142 .action(ArgAction::SetTrue), in args_with_last_usage() 373 .action(ArgAction::SetTrue) in wrapped_help() 379 .action(ArgAction::SetTrue) in wrapped_help() 385 .action(ArgAction::SetTrue) in wrapped_help() 391 .action(ArgAction::SetTrue) in wrapped_help() 419 .action(ArgAction::SetTrue) in unwrapped_help() 425 .action(ArgAction::SetTrue) in unwrapped_help() 431 .action(ArgAction::SetTrue) in unwrapped_help() 437 .action(ArgAction::SetTrue) in unwrapped_help() 817 .action(ArgAction::SetTrue)) in dont_wrap_urls() [all …]
|
D | conflicts.rs | 85 .action(clap::ArgAction::SetTrue), in not_exclusive_with_group() 427 .action(ArgAction::SetTrue) in conflict_output_three_conflicting() 433 .action(ArgAction::SetTrue) in conflict_output_three_conflicting() 439 .action(ArgAction::SetTrue) in conflict_output_three_conflicting() 457 .action(ArgAction::SetTrue) in two_conflicting_arguments() 463 .action(ArgAction::SetTrue) in two_conflicting_arguments() 485 .action(ArgAction::SetTrue) in three_conflicting_arguments() 491 .action(ArgAction::SetTrue) in three_conflicting_arguments() 497 .action(ArgAction::SetTrue) in three_conflicting_arguments() 537 .action(ArgAction::SetTrue), in conflict_with_unused_default() [all …]
|
D | global_args.rs | 93 .action(ArgAction::SetTrue), in global_arg_available_in_subcommand() 97 .action(ArgAction::SetTrue), in global_arg_available_in_subcommand() 114 .arg(arg!(--"long-a").global(true).action(ArgAction::SetTrue)) in deeply_nested_discovery() 117 .arg(arg!(--"long-b").global(true).action(ArgAction::SetTrue)) in deeply_nested_discovery() 120 .arg(arg!(--"long-c").global(true).action(ArgAction::SetTrue)) in deeply_nested_discovery()
|
D | help_env.rs | 159 .action(ArgAction::SetTrue) in hide_env_flag() 176 .action(ArgAction::SetTrue) in show_env_flag() 192 .action(ArgAction::SetTrue) in hide_env_vals_flag() 209 .action(ArgAction::SetTrue) in show_env_vals_flag()
|
D | double_require.rs | 18 .action(ArgAction::SetTrue) in cmd() 25 .action(ArgAction::SetTrue) in cmd() 32 .action(ArgAction::SetTrue) in cmd()
|
D | positionals.rs | 21 .arg(arg!(--exact "filters match exactly").action(ArgAction::SetTrue)) in issue_946() 44 arg!(-f --flag "some flag").action(ArgAction::SetTrue), in positional() 61 arg!(-f --flag "some flag").action(ArgAction::SetTrue), in positional() 120 arg!(-f --flag "some flag").action(ArgAction::SetTrue), in positional_multiple() 144 arg!(-f --flag "some flag").action(ArgAction::SetTrue), in positional_multiple_3() 178 arg!(-f --flag "some flag").action(ArgAction::SetTrue), in positional_possible_values()
|
D | action.rs | 84 Command::new("test").arg(Arg::new("mammal").long("mammal").action(ArgAction::SetTrue)); in set_true() 120 .action(ArgAction::SetTrue) in set_true_with_explicit_default_value() 144 .action(ArgAction::SetTrue) in set_true_with_default_value_if_present() 147 .arg(Arg::new("dog").long("dog").action(ArgAction::SetTrue)); in set_true_with_default_value_if_present() 171 .action(ArgAction::SetTrue) in set_true_with_default_value_if_value() 174 .arg(Arg::new("dog").long("dog").action(ArgAction::SetTrue)); in set_true_with_default_value_if_value() 198 .action(ArgAction::SetTrue) in set_true_with_required_if_eq() 201 .arg(Arg::new("dog").long("dog").action(ArgAction::SetTrue)); in set_true_with_required_if_eq()
|
D | multiple_occurrences.rs | 7 .arg(arg!(--multflag "allowed multiple flag").action(ArgAction::SetTrue)) in multiple_occurrences_of_flags_long() 8 .arg(arg!(--flag "disallowed multiple flag").action(ArgAction::SetTrue)) in multiple_occurrences_of_flags_long() 21 .arg(arg!(-m --multflag "allowed multiple flag").action(ArgAction::SetTrue)) in multiple_occurrences_of_flags_short() 22 .arg(arg!(-f --flag "disallowed multiple flag").action(ArgAction::SetTrue)) in multiple_occurrences_of_flags_short()
|
/third_party/rust/crates/clap/src/builder/ |
D | action.rs | 148 SetTrue, enumerator 284 Self::SetTrue => false, in takes_values() 296 Self::SetTrue => Some(std::ffi::OsStr::new("false")), in default_value() 308 Self::SetTrue => Some(std::ffi::OsStr::new("true")), in default_missing_value() 320 Self::SetTrue => Some(super::ValueParser::bool()), in default_value_parser() 335 Self::SetTrue => None, in value_type_id()
|
/third_party/rust/crates/clap/clap_complete_fig/tests/ |
D | common.rs | 7 .action(clap::ArgAction::SetTrue), in basic_command() 13 .action(clap::ArgAction::SetTrue), in basic_command() 79 .action(clap::ArgAction::SetTrue) in quoting_command() 85 .action(clap::ArgAction::SetTrue) in quoting_command() 91 .action(clap::ArgAction::SetTrue) in quoting_command() 97 .action(clap::ArgAction::SetTrue) in quoting_command() 103 .action(clap::ArgAction::SetTrue) in quoting_command() 109 .action(clap::ArgAction::SetTrue) in quoting_command() 132 .action(clap::ArgAction::SetTrue) in aliases_command()
|
/third_party/rust/crates/clap/clap_complete/tests/ |
D | common.rs | 9 .action(clap::ArgAction::SetTrue), in basic_command() 15 .action(clap::ArgAction::SetTrue), in basic_command() 81 .action(clap::ArgAction::SetTrue) in quoting_command() 87 .action(clap::ArgAction::SetTrue) in quoting_command() 93 .action(clap::ArgAction::SetTrue) in quoting_command() 99 .action(clap::ArgAction::SetTrue) in quoting_command() 105 .action(clap::ArgAction::SetTrue) in quoting_command() 111 .action(clap::ArgAction::SetTrue) in quoting_command() 134 .action(clap::ArgAction::SetTrue) in aliases_command()
|
/third_party/rust/crates/clap/clap_mangen/tests/ |
D | common.rs | 9 .action(clap::ArgAction::SetTrue), in basic_command() 15 .action(clap::ArgAction::SetTrue), in basic_command() 77 .action(clap::ArgAction::SetTrue) in quoting_command() 83 .action(clap::ArgAction::SetTrue) in quoting_command() 89 .action(clap::ArgAction::SetTrue) in quoting_command() 95 .action(clap::ArgAction::SetTrue) in quoting_command() 101 .action(clap::ArgAction::SetTrue) in quoting_command() 107 .action(clap::ArgAction::SetTrue) in quoting_command() 130 .action(clap::ArgAction::SetTrue) in aliases_command()
|
/third_party/rust/crates/clap/clap_bench/benches/ |
D | 06_rustup.rs | 34 .action(ArgAction::SetTrue), in build_cli() 57 .action(ArgAction::SetTrue) in build_cli() 215 .action(ArgAction::SetTrue) in build_cli() 232 .action(ArgAction::SetTrue) in build_cli() 261 .action(ArgAction::SetTrue) in build_cli() 267 .action(ArgAction::SetTrue) in build_cli() 289 .arg(Arg::new("no-prompt").short('y').action(ArgAction::SetTrue)), in build_cli()
|
/third_party/rust/crates/clap/examples/derive_ref/ |
D | flatten_hand_args.rs | 43 .action(ArgAction::SetTrue), in augment_args() 49 .action(ArgAction::SetTrue), in augment_args() 63 .action(ArgAction::SetTrue), in augment_args_for_update() 69 .action(ArgAction::SetTrue), in augment_args_for_update()
|
/third_party/rust/crates/clap/tests/ |
D | macros.rs | 46 assert!(matches!(arg.get_action(), clap::ArgAction::SetTrue)); in short() 54 assert!(matches!(arg.get_action(), clap::ArgAction::SetTrue)); in short() 70 assert!(matches!(arg.get_action(), clap::ArgAction::SetTrue)); in short() 85 assert!(matches!(arg.get_action(), clap::ArgAction::SetTrue)); in short_and_long() 94 assert!(matches!(arg.get_action(), clap::ArgAction::SetTrue)); in short_and_long() 112 assert!(matches!(arg.get_action(), clap::ArgAction::SetTrue)); in short_and_long() 124 assert!(matches!(arg.get_action(), clap::ArgAction::SetTrue)); in short_help() 140 assert!(matches!(arg.get_action(), clap::ArgAction::SetTrue)); in long_help() 156 assert!(matches!(arg.get_action(), clap::ArgAction::SetTrue)); in short_version() 173 assert!(matches!(arg.get_action(), clap::ArgAction::SetTrue)); in long_version()
|
/third_party/rust/crates/clap/examples/tutorial_builder/ |
D | 04_03_relations.rs | 10 .arg(arg!(--major "auto inc major").action(ArgAction::SetTrue)) in main() 11 .arg(arg!(--minor "auto inc minor").action(ArgAction::SetTrue)) in main() 12 .arg(arg!(--patch "auto inc patch").action(ArgAction::SetTrue)) in main()
|
D | 04_04_custom.rs | 11 .arg(arg!(--major "auto inc major").action(ArgAction::SetTrue)) in main() 12 .arg(arg!(--minor "auto inc minor").action(ArgAction::SetTrue)) in main() 13 .arg(arg!(--patch "auto inc patch").action(ArgAction::SetTrue)) in main()
|
/third_party/rust/crates/clap/src/ |
D | macros.rs | 215 let action = $crate::ArgAction::SetTrue; 238 let action = $crate::ArgAction::SetTrue; 257 let action = $crate::ArgAction::SetTrue; 276 let action = $crate::ArgAction::SetTrue; 413 $crate::ArgAction::SetTrue | $crate::ArgAction::Help | $crate::ArgAction::Version => {
|