• Home
  • Raw
  • Download

Lines Matching full:help

25     let help = get_long_help::<LoremIpsum>();  in doc_comments()  localVariable
26 assert!(help.contains("Lorem ipsum")); in doc_comments()
27 assert!(help.contains("Fooify a bar and a baz")); in doc_comments()
37 #[structopt(short, long, help = "DO NOT PASS A BAR UNDER ANY CIRCUMSTANCES")] in help_is_better_than_comments()
41 let help = get_long_help::<LoremIpsum>(); in help_is_better_than_comments() localVariable
42 assert!(help.contains("Dolor sit amet")); in help_is_better_than_comments()
43 assert!(!help.contains("Lorem ipsum")); in help_is_better_than_comments()
44 assert!(help.contains("DO NOT PASS A BAR")); in help_is_better_than_comments()
56 let help = get_long_help::<LoremIpsum>(); in empty_line_in_doc_comment_is_double_linefeed() localVariable
57 assert!(help.starts_with("lorem-ipsum \nFoo.\n\nBar\n\nUSAGE:")); in empty_line_in_doc_comment_is_double_linefeed()
68 /// Long help in field_long_doc_comment_both_help_long_help()
84 assert!(long_help.contains("Long help")); in field_long_doc_comment_both_help_long_help()
85 assert!(!short_help.contains("Long help")); in field_long_doc_comment_both_help_long_help()
104 #[structopt(help = "foo")] in top_long_doc_comment_both_help_long_help()
143 let help = get_long_help::<SeeFigure1>(); in verbatim_doc_comment() localVariable
161 assert!(help.contains(sample)) in verbatim_doc_comment()
168 /// This help ends in a period. in verbatim_doc_comment_field()
171 /// This help does not end in a period. in verbatim_doc_comment_field()
176 let help = get_long_help::<App>(); in verbatim_doc_comment_field() localVariable
179 This help does not end in a period in verbatim_doc_comment_field()
182 This help ends in a period."#; in verbatim_doc_comment_field()
184 assert!(help.contains(sample)) in verbatim_doc_comment_field()