Fix a little bug in running "modules list".

This commit is contained in:
Chris Lumens 2018-08-10 09:50:15 -04:00
parent 587f05e551
commit 5dddef6f49
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ def modules_cmd(opts):
api_route = client.api_url(opts.api_version, "/modules/list")
result = client.get_url_json(opts.socket, api_route)
(rc, exit_now) = handle_api_result(result, opts.show_json)
(rc, exit_now) = handle_api_result(result, opts.json)
if exit_now:
return rc