Closed ParkerTewell closed 3 years ago
interesting: i saved the output of "checkpars.log" before and after the merge. And in the old one it would find snapfit to be missing the maxreport= keyword in the help= , i.e. the man page had too many entries. Turns out you did the right thing with that beginning of line match, but maxreport was commented out using the .\" .TP .\" \fBmaxreport=\fP\fI method of commenting out lines in a man page
There is a man page on checkpars (in section 8), but since checkpars itself is not a true nemo help=h command, it does not check itself!
Added a ^ to .TP scan so it forces the line to start with a .TP but it can still be followed by other stuff like ".TP 20" Changed parameter parsing with parentheses which capture only the stuff we want. This lets us avoid splitting the string after parsing. Will update the other regex's for .SH parsing and help parsing to make everything uniform.