docs: document all flags in readme

This commit is contained in:
Jose Diaz-Gonzalez
2020-05-14 23:37:57 -04:00
parent b335d9c73a
commit 2cc04faf19
2 changed files with 59 additions and 6 deletions

View File

@@ -226,12 +226,12 @@ def command_help(command, service, alias, scheme, ports, unimplemented):
# for argument in data["arguments"]:
# content.append(f"- {argument}")
# if len(data["flags"]) > 0:
# content.append("")
# content.append("flags:")
# content.append("")
# for flag in data["flags"]:
# content.append(f"- {flag}")
if len(data["flags"]) > 0:
content.append("")
content.append("flags:")
content.append("")
for flag in data["flags"]:
content.append(f"- {flag}")
if len(data["examples"]) > 0:
content.append("")