default values for summary info in redis command
@@ -235,16 +235,16 @@ class Client:
("class:doccommand", " " + command_summary_name),
("", "\n"),
("class:dockey", " summary: "),
- ("", summary_dict["summary"]),
+ ("", summary_dict.get("summary", "No summary")),
("", "\n"),
("class:dockey", " complexity: "),
- ("", summary_dict["complexity"]),
+ ("", summary_dict.get("complexity", "?")),
("", "\n"),
("class:dockey", " since: "),
- ("", summary_dict["since"]),
+ ("", summary_dict.get("since", "?")),
("", "\n"),
("class:dockey", " group: "),
- ("", summary_dict["group"]),
+ ("", summary_dict.get("group", "?")),
("", "\n"),
("class:dockey", " syntax: "),
("", command_summary_name), # command
