man,journalctl: introduce man/--help sections
authorLennart Poettering <lennart@poettering.net>
Thu, 4 Aug 2022 13:15:52 +0000 (15:15 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 5 Aug 2022 15:13:07 +0000 (16:13 +0100)
commit7496235134cf1c39bf9454dad3fabd1324a8d75a
tree14ac9f29841081bb121e2267bed812d2749134d0
parent578355684d8d4041d8096445922de7f7d1a20571
man,journalctl: introduce man/--help sections

So far the --help text and the man page of journactl were mostly a large
pile of options shown next to each other. Let's add some basic
structure, and group switches by sections such as "Filtering Options",
"Output Options" and so on.

Do this the same way in the --help text and in the man page.

Since this moves everything around anyway, I also opted to rebreak all
paragraphs in the man page. This makes the patch larger than necessary,
but given that this whole patch doesn't really change contents besides
section titles I figured this would be OK.
man/journalctl.xml
src/journal/journalctl.c