mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 00:17:45 +00:00
Help+man+LibManual: Move argument handling to LibManual
This deduplicates argument handling logic from Help and man and makes it more modular for future use cases. The argument handling works as before: two arguments specify section and page (in this order), one argument specifies either a page (the first section that it's found in is used) or a path to a manpage markdown file.
This commit is contained in:
parent
64ca546a06
commit
b65258c093
9 changed files with 149 additions and 125 deletions
|
@ -1,4 +1,5 @@
|
|||
set(SOURCES
|
||||
Node.cpp
|
||||
PageNode.cpp
|
||||
Path.cpp
|
||||
SectionNode.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue