Skip to content

Commit

Permalink
Tests: add usage note to check-rpc-mappings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Mason Simon committed Jul 19, 2018
1 parent 4a3e8c5 commit 03a2d68
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/lint/check-rpc-mappings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 03a2d68

Please sign in to comment.