Lines Matching refs: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()
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()
176 let help = get_long_help::<App>(); in verbatim_doc_comment_field() localVariable
184 assert!(help.contains(sample)) in verbatim_doc_comment_field()