1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 21:22:09 +02:00
tldr/pages/osx/xml2man.md
2022-03-27 23:49:38 +02:00

16 lines
508 B
Markdown

# xml2man
> Compile MPGL to mdoc.
> More information: <https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/HeaderDoc/mpgl/mpgl.html>.
- Compile an MPGL file to a viewable man page:
`xml2man {{path/to/command.mxml}}`
- Compile an MPGL file to a specific output file:
`xml2man {{path/to/service.mxml}} {{path/to/service.7}}`
- Compile an MPGL file to a specific output file, overwriting if it already exists:
`xml2man -f {{path/to/function.mxml}} {{path/to/function.3}}`