Skip to content

Commit

Permalink
Update redis to valkey in generate-commands-json.py (valkey-io#238)
Browse files Browse the repository at this point in the history
Previously these scripts were updated but still some places are left so
updated the valkey.

---------

Signed-off-by: Shivshankar-Reddy <[email protected]>
  • Loading branch information
Shivshankar-Reddy authored Apr 18, 2024
1 parent 34413e0 commit cc94c98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/generate-commands-json.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ def convert_entry_to_objects_array(cmd, docs):
# MAIN
if __name__ == '__main__':
opts = {
'description': 'Transform the output from `redis-cli --json` using COMMAND and COMMAND DOCS to a single commands.json format.',
'description': 'Transform the output from `valkey-cli --json` using COMMAND and COMMAND DOCS to a single commands.json format.',
'epilog': f'Usage example: {argv[0]} --cli src/valkey-cli --port 6379 > commands.json'
}
parser = argparse.ArgumentParser(**opts)
parser.add_argument('--host', type=str, default='localhost')
parser.add_argument('--port', type=int, default=6379)
parser.add_argument('--cli', type=str, default='%s/redis-cli' % srcdir)
parser.add_argument('--cli', type=str, default='%s/valkey-cli' % srcdir)
args = parser.parse_args()

payload = OrderedDict()
Expand Down

0 comments on commit cc94c98

Please sign in to comment.