HomePhabricator

Fix check-doc.py

Description

Fix check-doc.py

Summary:
Update the script to work with our codebase, especially our clang-format
rules.

Test Plan:

contrib/devtools/check-doc.py

The expected ouput should contain:

  • The number of arguments used through the code (via the getters from ArgsManager)
  • The number of arguments documented in the code (via the HelpMessageOpt calls)
  • The deduced quantity and list of:
    • Undocumented arguments (arguments used but not documented)
    • Unknown arguments (arguments documented but not used)

The script exit code is the number of undocumented arguments.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: teamcity, schancel

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

Details

Provenance
FabienAuthored on Jan 8 2019, 21:36
FabienPushed on Jan 11 2019, 15:11
Reviewer
Restricted Project
Differential Revision
D2280: Fix check-doc.py
Parents
rABCf2d83c807cab: [RCU] Interlock synchronize operation when there is contention
Branches
Unknown
Tags
Unknown