Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13115916
D3779.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
713 B
Subscribers
None
D3779.diff
View Options
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
Details
Attached
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)
Attached To
D3779: Tests: add usage note to check-rpc-mappings.py
Event Timeline
Log In to Comment