Home
last modified time | relevance | path

Searched refs:long_help (Results 1 - 15 of 15) sorted by relevance

/third_party/rust/crates/clap/tests/derive/
H A Ddoc_comments_help.rs90 let long_help = utils::get_long_help::<LoremIpsum>(); in field_long_doc_comment_both_help_long_help()
96 assert!(long_help.contains("Long help")); in field_long_doc_comment_both_help_long_help()
122 let long_help = utils::get_subcommand_long_help::<LoremIpsum>("foo"); in top_long_doc_comment_both_help_long_help()
125 assert!(long_help.contains("DO NOT PASS A BAR UNDER ANY CIRCUMSTANCES")); in top_long_doc_comment_both_help_long_help()
126 assert!(long_help.contains("Or something else")); in top_long_doc_comment_both_help_long_help()
299 #[arg(short, long, long_help)] in force_long_help()
H A Dskip.rs111 #[arg(skip, long_help = "internal_stuff\ndo not touch")] in skip_help_doc_comments()
/third_party/gn/src/gn/
H A Dswitches.h15 SwitchInfo(const char* short_help, const char* long_help);
18 const char* long_help; member
H A Dswitches.cc319 SwitchInfo::SwitchInfo() : short_help(""), long_help("") {}
321 SwitchInfo::SwitchInfo(const char* short_help, const char* long_help)
322 : short_help(short_help), long_help(long_help) {}
H A Dcommand_help.cc221 PrintLongHelp(found->second.long_help); in PrintHelpOnSwitch()
/third_party/rust/crates/clap/src/bin/
H A Dstdio-fixture.rs12 .long_help("more log"), in main()
/third_party/lame/frontend/
H A Dparse.h10 int long_help(const lame_global_flags * gfp, FILE * const fp, const char *ProgramName,
H A Dparse.c714 long_help(const lame_global_flags * gfp, FILE * const fp, const char *ProgramName, int lessmode) in long_help() function
2008 long_help(gfp, stdout, ProgramName, 0 /* lessmode=NO */ ); in parse_args_()
2014 long_help(gfp, fp, ProgramName, 0 /* lessmode=NO */ ); in parse_args_()
2017 long_help(gfp, stdout, ProgramName, 1 /* lessmode=YES */ ); in parse_args_()
2451 long_help(gfp, stdout, ProgramName, 0 /* LESSMODE=NO */ ); in parse_args_()
/third_party/rust/crates/clap/clap_mangen/examples/
H A Dman.rs21 .long_help("Some more text about how to set a custom config file") in main()
/third_party/rust/crates/clap/clap_mangen/src/
H A Drender.rs287 let long_help = opt.get_long_help(); in option_help()
288 if long_help.is_some() { in option_help()
289 return long_help; in option_help()
/third_party/rust/crates/clap/src/builder/
H A Darg.rs57 pub(crate) long_help: Option<StyledStr>,
2003 /// If [`Arg::long_help`] is not specified, this message will be displayed for `--help`.
2040 /// [`Arg::long_help`]: Arg::long_help()
2072 /// .long_help(
2105 pub fn long_help(mut self, h: impl IntoResettable<StyledStr>) -> Self { in long_help() functions
2106 self.long_help = h.into_resettable().into_option(); in long_help()
3715 /// let arg = Arg::new("foo").long_help("long help");
3721 self.long_help.as_ref() in get_long_help()
4284 .field("long_help", in fmt()
[all...]
H A Dcommand.rs749 /// [`--help` (long)]: Arg::long_help()
778 /// [`--help` (long)]: Arg::long_help()
804 /// [`--help` (long)]: Arg::long_help()
4137 "Command::help_expected is enabled for the Command {}, but at least one of its arguments does not have either `help` or `long_help` set. List of such arguments: {}",
4247 .long_help("Print help (see a summary with '-h')");
/third_party/rust/crates/clap/tests/
H A Dmacros.rs138 fn long_help() { in long_help() functions
/third_party/rust/crates/clap/clap_derive/src/
H A Ditem.rs217 res.push_doc_comment(&field.attrs, "help", Some("long_help")); in from_args_field()
895 let (short_help, long_help) = in push_doc_comment()
909 long_help in push_doc_comment()
1063 .any(|m| m.name != "help" && m.name != "long_help") in has_explicit_methods()
/third_party/rust/crates/clap/tests/builder/
H A Dhelp.rs1994 .long_help( in issue_1642_long_help_spacing()

Completed in 21 milliseconds