murex Shell Docs

Command Reference: man-get-flags

Parses man page files for command line flags


Sometimes you might want to programmatically search man pages for any supported flag. Particularly if you’re writing a dynamic autocompletion. man-get-flags does this and returns a JSON document.

You can either pipe a man page to man-get-flags, or pass the name of the command as a parameter.


<stdin> -> man-get-flags -> <stdout>

man-get-flags command -> <stdout>

See Also

This site's content is rebuilt automatically from murex's source code after each merge to the master branch. Downloadable murex binaries are also built with the website.

Last built on Mon Feb 13 09:18:06 UTC 2023 against commit f339958f33995895c1d997efcdbb8408d2c8d45f8b5f934.

Current version is which has been verified against 13950 tests cases.