mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-30 12:37:49 +00:00
user docs: move the examples after the options
This commit is contained in:
parent
bbd74bb957
commit
716444c7b1
1 changed files with 3 additions and 3 deletions
|
@ -72,8 +72,8 @@ fn write_markdown(
|
|||
write_version(&mut w, app)?;
|
||||
write_usage(&mut w, app, name)?;
|
||||
write_description(&mut w, app)?;
|
||||
write_examples(&mut w, name, tldr_zip)?;
|
||||
write_options(&mut w, app)
|
||||
write_options(&mut w, app)?;
|
||||
write_examples(&mut w, name, tldr_zip)
|
||||
}
|
||||
|
||||
fn write_version(w: &mut impl Write, app: &App) -> io::Result<()> {
|
||||
|
@ -203,5 +203,5 @@ fn write_options(w: &mut impl Write, app: &App) -> io::Result<()> {
|
|||
writeln!(w, "</dt>")?;
|
||||
writeln!(w, "<dd>\n\n{}\n\n</dd>", arg.get_help().unwrap_or_default())?;
|
||||
}
|
||||
writeln!(w, "</dl>")
|
||||
writeln!(w, "</dl>\n")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue