lib/output: add missing documentation.