/third_party/rust/crates/clap/tests/builder/ |
H A D | indices.rs | 9 .short('e') in indices_mult_opts() 16 .short('i') in indices_mult_opts() 36 .short('e') in index_mult_opts() 43 .short('i') in index_mult_opts() 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(' in indices_mult_flags() [all...] |
H A D | flag_subcommands.rs | 11 .short('t') in flag_subcommand_normal() 35 .short('t') in flag_subcommand_normal_with_alias() 57 .short('t') in flag_subcommand_short() 78 .short('t') in flag_subcommand_short_with_args() 101 .short('t') in flag_subcommand_short_with_alias() 147 .short('t') in flag_subcommand_short_with_aliases_vis_and_hidden() 175 .short('t') in flag_subcommand_short_with_aliases() 200 .short('t') in flag_subcommand_short_with_alias_hyphen() 219 .short('t') in flag_subcommand_short_with_aliases_hyphen() 235 .arg(Arg::new("clean").short(' in flag_subcommand_short_after_long_arg() [all...] |
H A D | possible_values.rs | 100 .short('o') in possible_values_of_option() 122 .short('o') in possible_values_of_option_fail() 138 .short('o') in possible_values_of_option_multiple() 164 .short('o') in possible_values_of_option_multiple_fail() 200 .short('O') in possible_values_output() 234 .short('O') in possible_values_alias_output() 272 .short('O') in possible_values_hidden_output() 311 .short('O') in escaped_possible_values_output() 334 .short('O') in missing_possible_value_error() 354 .short(' in alias() [all...] |
H A D | help_env.rs | 87 .short('c') in hide_env() 105 .short('c') in show_env() 122 .short('c') in hide_env_vals() 140 .short('c') in show_env_vals() 157 .short('c') in hide_env_flag() 174 .short('c') in show_env_flag() 190 .short('c') in hide_env_vals_flag() 207 .short('c') in show_env_vals_flag()
|
H A D | hidden_args.rs | 33 hides short args 43 /// Ensure hide with short option 47 .about("hides short args") in hide_short_args() 52 .short('c') in hide_short_args() 58 .short('v') in hide_short_args() 71 hides short args in hide_short_args_long_help() 90 .about("hides short args") in hide_short_args_long_help() 95 .short('c') in hide_short_args_long_help() 101 .short('v') in hide_short_args_long_help() 134 .short(' in hide_long_args() [all...] |
H A D | unique_args.rs | 8 .args([Arg::new("arg1").short('a'), Arg::new("arg1").short('b')]) in unique_arg_names() 19 .args([Arg::new("arg1").short('a'), Arg::new("arg2").short('a')]) in unique_arg_shorts()
|
H A D | require.rs | 326 .arg(Arg::new("infile").short('i').action(ArgAction::Set)) in required_unless_present_all() 346 .arg(Arg::new("infile").short('i').action(ArgAction::Set)) in required_unless_all_err() 365 .arg(Arg::new("infile").short('i').action(ArgAction::Set)) in required_unless_present_any() 386 .arg(Arg::new("infile").short('i').action(ArgAction::Set)) in required_unless_any_2() 402 .short('a') in required_unless_any_works_with_short() 405 .arg(Arg::new("b").short('b').action(ArgAction::SetTrue)) in required_unless_any_works_with_short() 408 .short('x') in required_unless_any_works_with_short() 423 .short('a') in required_unless_any_works_with_short_err() 426 .arg(Arg::new("b").short('b').action(ArgAction::SetTrue)) in required_unless_any_works_with_short_err() 429 .short(' in required_unless_any_works_with_short_err() [all...] |
/third_party/rust/crates/clap/clap_derive/src/utils/ |
H A D | doc_comments.rs | 58 let (short, long) = if preprocess { in format_doc_comment() 60 let short = paragraphs[0].clone(); in format_doc_comment() 62 (remove_period(short), long) in format_doc_comment() 64 let short = lines[..first_blank].join("\n"); in format_doc_comment() 66 (short, long) in format_doc_comment() 69 (Some(short), Some(long)) in format_doc_comment() 71 let (short, long) = if preprocess { in format_doc_comment() 72 let short = merge_lines(lines); in format_doc_comment() 73 let long = force_long.then(|| short.clone()); in format_doc_comment() 74 let short in format_doc_comment() [all...] |
/third_party/rust/crates/clap/clap_bench/benches/ |
H A D | 05_ripgrep.rs | 250 Use -h for short descriptions and --help for more details."; 271 /// Build a clap application with short help strings. 273 cmd(false, |k| USAGES[k].short) in app_short() 309 // consistent with short/long views. in cmd() 312 .arg(arg("help-short").short('h')) in cmd() 314 .arg(flag("version").short('V')) in cmd() 319 "help-short", in cmd() 328 .short('e') in cmd() 341 .arg(flag("text").short(' in cmd() [all...] |
H A D | 04_new_help.rs | 42 .short('d') in app_example3() 49 .short('c') in app_example3() 73 .short('d') in app_example4() 80 .short('c') in app_example4() 95 .short('a') in app_example5() 123 .short('i') in app_example7() 140 .short('i') in app_example8() 151 .short('c') in app_example10()
|
/third_party/python/Tools/peg_generator/scripts/ |
H A D | test_parse_directory.py | 36 "-s", "--short", action="store_true", help="Only show errors, in a more Emacs-friendly format" 48 short: bool = False, 50 if short and succeeded: 60 if short: 105 def parse_directory(directory: str, verbose: bool, excluded_files: List[str], short: bool) -> int: 123 report_status(succeeded=True, file=file, verbose=verbose, short=short) 125 report_status(succeeded=False, file=file, verbose=verbose, error=error, short=short) 130 if short [all...] |
/third_party/python/Lib/distutils/ |
H A D | fancy_getopt.py | 5 * short and long options are tied together 32 * short and long options are tied together 78 # but expands short options, converts aliases, etc. 145 long, short, help = option 148 long, short, help, repeat = option 159 if (not ((short is None) or 160 (isinstance(short, str) and len(short) == 1))): 161 raise DistutilsGetoptError("invalid short option '%s': " 162 "must a single character or None" % short) [all...] |
/third_party/mbedtls/scripts/mbedtls_dev/ |
H A D | crypto_knowledge.py | 25 short = original 26 short = re.sub(r'\bPSA_(?:ALG|DH_FAMILY|ECC_FAMILY|KEY_[A-Z]+)_', r'', short) 27 short = re.sub(r' +', r'', short) 29 short = re.sub(r'PUBLIC_KEY\b', r'PUB', short) 30 short = re.sub(r'KEY_PAIR\b', r'PAIR', short) 31 short [all...] |
/third_party/rust/crates/clap/tests/derive/ |
H A D | custom_string_parsers.rs | 22 #[arg(short, long)] 25 #[arg(short, default_value = "../")] 28 #[arg(short)] 31 #[arg(short)] 34 #[arg(short = 'q')] 66 #[arg(short, value_parser = parse_hex)] 106 #[arg(short, value_parser = custom_parser_2)] in fmt() 129 #[arg(short)] 132 #[arg(short)]
|
H A D | basic.rs | 21 #[arg(short = 'a', long = "arg")] in basic() 34 #[arg(short, long)] in update_basic() 36 #[arg(short, long)] in update_basic() 57 #[arg(short, long, required = true)] in update_explicit_required() 59 #[arg(short, long, required = true)] in update_explicit_required()
|
H A D | options.rs | 26 #[arg(short, long)] in required_option() 53 #[arg(short, default_value = "42")] in option_with_default() 72 #[arg(short, default_value = "42")] in option_with_raw_default() 157 #[arg(short)] in option_vec_from_str() 173 #[arg(short)] in option_type_is_optional() 203 #[arg(short, long, action = clap::ArgAction::Count)] in required_with_option_type() 253 #[arg(short)] in option_option_type_is_optional_value() 294 #[arg(short)] in two_option_option_types() 349 #[arg(short, long)] in vec_type_is_multiple_occurrences() 368 #[arg(short, lon in vec_type_with_required() [all...] |
H A D | occurrences.rs | 8 #[arg(short = 'p', num_args = 2)] in test_vec_of_vec() 28 #[arg(value_parser = parser, short = 'p')] in test_vec_of_vec_opt_out() 44 #[arg(short = 'p', num_args = 2)] in test_vec_vec_empty() 58 #[arg(short = 'p', num_args = 2)] in test_option_vec_vec() 74 #[arg(short = 'p', num_args = 2)] in test_option_vec_vec_empty()
|
/third_party/rust/crates/clap/examples/derive_ref/ |
H A D | flatten_hand_args.rs | 41 .short('f') in augment_args() 47 .short('b') in augment_args() 53 .short('q') in augment_args() 61 .short('f') in augment_args_for_update() 67 .short('b') in augment_args_for_update() 73 .short('q') in augment_args_for_update() 82 #[arg(short, long)]
|
/third_party/node/deps/npm/node_modules/jackspeak/dist/esm/ |
H A D | index.js | 77 undefOrType(o.short, 'string') && 219 if (typeof config.short === 'string') { 220 clo.short = config.short; 546 if (field.short) { 547 if (!/^[a-zA-Z0-9]$/.test(field.short)) { 548 throw new TypeError(`Invalid ${name} short option: ${field.short}, ` + 551 if (this.#shorts[field.short]) { 552 throw new TypeError(`Invalid ${name} short optio [all...] |
/third_party/node/deps/npm/node_modules/jackspeak/dist/commonjs/ |
H A D | index.js | 84 undefOrType(o.short, 'string') && 227 if (typeof config.short === 'string') { 228 clo.short = config.short; 554 if (field.short) { 555 if (!/^[a-zA-Z0-9]$/.test(field.short)) { 556 throw new TypeError(`Invalid ${name} short option: ${field.short}, ` + 559 if (this.#shorts[field.short]) { 560 throw new TypeError(`Invalid ${name} short optio [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | gen-indic-table.py | 113 short = [{ variable 133 for v,s in short[i].items (): 145 if v in short[i]: 146 s = short[i][v] 150 raise Exception ("Duplicate short value alias", v, all_shorts[i][s]) 152 short[i][v] = s 189 print ("%9s" % ("_(%s,%s)," % (short[0][d[0]], short[1][d[1]])), end="") 247 print (" if (unlikely (u == 0x%04Xu)) return _(%s,%s);" % (u, short[0][d[0]], short[ [all...] |
/third_party/rust/crates/clap/clap_complete/examples/ |
H A D | completion.rs | 31 .short('p') in build_cli() 37 .short('f') in build_cli() 43 .short('d') in build_cli() 49 .short('e') in build_cli() 60 .short('c') in build_cli() 72 .short('u') in build_cli()
|
H A D | completion-derive.rs | 44 #[arg(short, long, value_hint = ValueHint::AnyPath)] 46 #[arg(short, long, value_hint = ValueHint::FilePath)] 48 #[arg(short, long, value_hint = ValueHint::DirPath)] 50 #[arg(short, long, value_hint = ValueHint::ExecutablePath)] 54 #[arg(short, long, value_hint = ValueHint::CommandString)] 59 #[arg(short, long, value_hint = ValueHint::Username)]
|
/third_party/curl/scripts/ |
H A D | completion.pl | 82 my ($short, $long, $arg, $desc) = ($line =~ /^$regex/) or next; 95 $option .= " --short-option '" . strip_dash(trim($short)) . "'" 96 if defined $short; 102 $option .= '{' . trim($short) . ',' if defined $short; 104 $option .= '}' if defined $short;
|
/third_party/curl/docs/cmdline-opts/ |
H A D | gen.pl | 79 # both short + long 327 my $short; 360 $short=$1; 481 if(defined($short) && $long) { 482 $opt = "-$short, --$long"; 484 elsif($short && !$long) { 485 $opt = "-$short"; 487 elsif($long && !$short) { 635 my $short; 650 $short [all...] |