Tests: add usage note to check-rpc-mappings.py

This commit is contained in:
Mason Simon committed 2018-07-19 11:26:21 -07:00
1 parent 4a3e8c5aa6
commit 03a2d68010
1 file changed
+4
+4
View File
@@ -90,6 +90,10 @@ def process_mapping(fname):
return cmds
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