diff --git a/src/uucore_procs/src/lib.rs b/src/uucore_procs/src/lib.rs index c1ef8bc75..0d8df7d9f 100644 --- a/src/uucore_procs/src/lib.rs +++ b/src/uucore_procs/src/lib.rs @@ -174,7 +174,7 @@ fn parse_help_section(section: &str, content: &str) -> String { .lines() .skip_while(|&l| !is_section_header(l, section)) .skip(1) - .take_while(|l| !l.starts_with("##")) + .take_while(|l| !l.starts_with("## ")) .collect::>() .join("\n") .trim()