Hi all!

I'm not a user of the fish shell, but I still think that its feature set is extremely cool, hence why I'm asking this question.

How should I write manpages in a way that fish is able to reliably parse them? Can I put command line options in the DESCRIPTION section, or does fish expect them to be in an OPTIONS section? Does the synopsis have to list the options, or is something like "cmdname [OPTIONS] file ..." fine?

I'm writing my manpages in the [mdoc(7)] format, and I'm trying to stick to the manual structure defined in its manpage.

Thanks!

[mdoc(7)]: https://man.openbsd.org/mdoc.7

--
OpenPGP key: 66DE F152 8299 0C21 99EF  A801 A8A1 28A8 AB1C EE49




_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to