Reset man page title when necessary in GenManTree
Before adoption: this commit came in with the history the project adopted, so no landing records it.
If the user did not define header.Title when calling GenManTree(), reset it after each call to GenMan(), otherwise the entire man page tree would be stuck with the full command name that was calculated for the first man page, leaving all subsequent man pages with an identical but incorrect title.
authored by Anthony Fok · committed by Anthony Fok · parent 3bd84ba · Browse files · 1 file+6 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+6 added−0 removed
- other:+6 added−0 removed