mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-02 00:38:15 +01:00
Tests: add usage note to check-rpc-mappings.py
This commit is contained in:
@@ -90,6 +90,10 @@ def process_mapping(fname):
|
|||||||
return cmds
|
return cmds
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
if len(sys.argv) != 2:
|
||||||
|
print('Usage: {} ROOT-DIR'.format(sys.argv[0]), file=sys.stderr)
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
root = sys.argv[1]
|
root = sys.argv[1]
|
||||||
|
|
||||||
# Get all commands from dispatch tables
|
# Get all commands from dispatch tables
|
||||||
|
|||||||
Reference in New Issue
Block a user