You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
a few issues with the generated unix man(ual) pages #124
manpage-has-bad-whatis-entry
For manual pages that document multiple programs, functions, files, or other things, the part before "-" should list each separated by a comma and a space. Each thing listed must not contain spaces; a man page for a two-part command like "fs listacl" must use something like "fs_listacl" in the "NAME" section so that it can be parsed by lexgrog.
usr/share/man/man1/lambda2-mkindexn.1.gz
usr/share/man/man1/lambda2-mkindexp.1.gz
usr/share/man/man1/lambda2-searchn.1.gz
usr/share/man/man1/lambda2-searchp.1.gz
using lambda2-mkindexn.1.gz as an example:
.TH LAMBDA2 MKINDEXN 1 "Jan 22 2019" "lambda2 mkindexn 2.0.0" ""
.SH NAME
lambda2 mkindexn \- the Local Aligner for Massive Biological DatA
.SH SYNOPSIS
\fBlambda2 mkindexn\fP [\fIOPTIONS\fP] \-d DATABASE.fasta [-i INDEX.lambda]\fP
should be
.TH LAMBDA2_MKINDEXN 1 "Jan 22 2019" "lambda2 mkindexn 2.0.0" ""
.SH NAME
lambda2_mkindexn \- the Local Aligner for Massive Biological DatA
.SH SYNOPSIS
\fBlambda2 mkindexn\fP [\fIOPTIONS\fP] \-d DATABASE.fasta [-i INDEX.lambda]\fP
The NAME can't have spaces between the subcommand parts but they are allowed in the SYNOPSIS
2nd issue:
manpage-section-mismatch .TH title section [extra1] [extra2] [extra3]
In the example above we have .TH LAMBDA2 MKINDEXN 1 "Jan 22 2019" "lambda2 mkindexn 2.0.0" "", and again the space between LAMBDA2 and MKINDEXN shouldn't be there. Makes it look as if the section is "MKINDEXN" instead of section 1.
To be honest, I have no clue about the man-page formats. We are just using the seqan3 argument parser as recommend. The main problem seems to be - instead of _ ... ?
The search* manpages are warning/error-free; thanks!
The mkindex* manpages have some issues with
paragraph filling. They are usually related to long lines. Justifying text on the left hand side can help with adjustments. Hyphenation can help with breaks.
For more information, please see "Manipulating Filling and Adjusting" and "Manipulating Hyphenation" in the Groff manual
Activity
mr-c commentedon Jan 23, 2019
I think this is the part of seqan that needs fixing:
https://github.com/seqan/seqan/blob/develop/include/seqan/arg_parse/tool_doc.h#L1555
h-2 commentedon Feb 19, 2020
Are these things still a problem with the SeqAn3 argument parser?
h-2 commentedon Aug 15, 2022
Closing this. If it still exists with the lambda3 branch, please reopen.
mr-c commentedon Sep 20, 2022
@h-2 I can't get the
lambda3branch to buildFrom a fresh checkout today:
mr-c commentedon Sep 20, 2022
Okay, compiling with gcc 11 works; and there is still a problem
Here are my recommended fixes, using
lambda3 searchp --export-help manh-2 commentedon Sep 20, 2022
I'll have a look sometime this week!
h-2 commentedon Sep 21, 2022
To be honest, I have no clue about the man-page formats. We are just using the seqan3 argument parser as recommend. The main problem seems to be
-instead of_... ?Would the following changes fix this for you:
https://github.com/seqan/lambda/blob/lambda3/src/search_options.hpp#L115
https://github.com/seqan/lambda/blob/lambda3/src/search_options.hpp#L126
h-2 commentedon Jul 13, 2023
Can you still reproduce the problems with the current lambda3-branch? Does it build for you now?
mr-c commentedon Jul 13, 2023
The search* manpages are warning/error-free; thanks!
The
mkindex*manpages have some issues withsarahet commentedon Jul 21, 2023
Hi - could this link be the problem by chance?
lambda/src/mkindex_options.hpp
Line 120 in cf59351
At least it is longer than 80 char and can't just be split. If so, do you have a recommendation how you usually handle this?