Script to find undocumented options#4136
Conversation
This script browses the manpages and tries all command line options and shows where the two differ: Undocumented options (i.e., where an option the help page mentions, but that doesn't appear in the manpage) and unsupported options (i.e., where an option appears in the manpage, but not in the help page).
|
For the record, I wrote this because I believed #3043 to have the root cause in an option that's undocumented in the manpage (-ignore_errs). For reference, this is what it spits out for current master: |
|
wow, long comment :) |
|
Hi Rich, yup I feared this -- maybe it's still useful for someone, even when it never makes it mainline :-) |
|
Is having a Python script in the distro okay if it isn't run by the build system? |
|
Or in the tools repo? |
|
I'm going to translate to perl and put it in the find-doc-nits script. I think it's highly useful! |
|
BTW, you should look at the "list --missing-help" command. |
|
Closing in favor of #4144. |
This script browses the manpages and tries all command line options and
shows where the two differ: Undocumented options (i.e., where an option
the help page mentions, but that doesn't appear in the manpage) and
unsupported options (i.e., where an option appears in the manpage, but
not in the help page).
I'm aware that most other scripts are written in Perl, but I'm unable to code any perl and wrote this script just to find discrepancies in the docs. So I thought I'd give it a shot to anyone who is interested.