Skip to content

Commit 7c3ac59

Browse files
committed
contrib: list other binaries in manpage output
1 parent c2c6a7d commit 7c3ac59

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

contrib/devtools/gen-manpages.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@
6262
# Copyright is the same for all binaries, so just use the first.
6363
footer.write('[COPYRIGHT]\n')
6464
footer.write('\n'.join(versions[0][2]).strip())
65+
# Create SEE ALSO section
66+
footer.write('\n[SEE ALSO]\n')
67+
footer.write(', '.join(s.rpartition('/')[2] + '(1)' for s in BINARIES))
68+
footer.write('\n')
6569
footer.flush()
6670

6771
# Call the binaries through help2man to produce a manual page for each of them.

0 commit comments

Comments
 (0)