mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 23:02:38 +00:00
docs: fix usage string since clap 4
This commit is contained in:
parent
d9ca1d4805
commit
ed6b4c8635
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ impl<'a, 'b> MDWriter<'a, 'b> {
|
||||||
.render_usage()
|
.render_usage()
|
||||||
.to_string()
|
.to_string()
|
||||||
.lines()
|
.lines()
|
||||||
.skip(1)
|
.map(|l| l.strip_prefix("Usage:").unwrap_or(l))
|
||||||
.map(|l| l.trim())
|
.map(|l| l.trim())
|
||||||
.filter(|l| !l.is_empty())
|
.filter(|l| !l.is_empty())
|
||||||
.collect::<Vec<_>>()
|
.collect::<Vec<_>>()
|
||||||
|
|
Loading…
Reference in a new issue