Page MenuHomePhabricator

D3779.diff
No OneTemporary

D3779.diff

diff --git a/test/lint/check-rpc-mappings.py b/test/lint/check-rpc-mappings.py
--- a/test/lint/check-rpc-mappings.py
+++ b/test/lint/check-rpc-mappings.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
-# Copyright (c) 2017 The Bitcoin Core developers
+# Copyright (c) 2017-2018 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Check RPC argument consistency."""
@@ -102,6 +102,10 @@
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]
# Get all commands from dispatch tables

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 1, 12:41 (26 m, 38 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5187876
Default Alt Text
D3779.diff (713 B)

Event Timeline