docs: print one example output per line in the man page (#3683)
This commit is contained in:
1 parent
175b8e3c51
commit
4b45d6c1ba
2 files changed
+130
-46
No files matched your search
@@ -227,7 +227,7 @@ def convert_manual_to_markdown():
|
||||
f.write("jq '{}'\n".format(example.get('program', '')))
|
||||
f.write(" {}\n".format(example.get('input', '')))
|
||||
output = [str(x) for x in example.get('output', [])]
|
||||
f.write("=> {}\n".format(', '.join(output)))
|
||||
f.write("=> {}\n".format('\n '.join(output)))
|
||||
first = False
|
||||
f.write("~~~~\n")
|
||||
f.write('\n')
|
||||
|
||||
Reference in new issue
Block a user