HomePhabricator

Improve check-doc.py argument counting output

Description

Improve check-doc.py argument counting output

Summary:
The used arguments count did not reflect exactly the actual number of
arguments used because it did not take the SET_DOC_OPTIONAL list into
account.
Also add the number of explicitely undocumented argument to the output.

Depends on D2299

Test Plan:

./contrib/devtools/check-doc.py

Compare the outputs before and after the patch.
Check the count is augmented by the correct number of arguments

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: teamcity, schancel

Differential Revision: https://reviews.bitcoinabc.org/D2303

Details

Provenance
FabienAuthored on Jan 14 2019, 10:37
FabienPushed on Jan 22 2019, 17:07
Reviewer
Restricted Project
Differential Revision
D2303: Improve check-doc.py argument counting output
Parents
rABC708d675bab9a: Complete missing argument documentation
Branches
Unknown
Tags
Unknown