Merge: doc/commands: introduce `main` related commands
authorJean Privat <jean@pryen.org>
Thu, 10 May 2018 22:46:06 +0000 (18:46 -0400)
committerJean Privat <jean@pryen.org>
Thu, 10 May 2018 22:46:06 +0000 (18:46 -0400)
commit588a41fcc7c0bbcedbcd87a454ccef9a6b0d9bd4
tree6bdbff3fdb60585842877ff5b5278a5d4a0d9dc4
parent1486bd2957dd619b0635f6dab270ed3d463bfdc5
parent1456075cb7d8ee6c3498668e13b3f8ce81d8b30b
Merge: doc/commands: introduce `main` related commands

This PR introduce new doc commands related to executable files:
* `CmdMains`: list all executable files from a package
* `CmdMainCompile`: return the `nitc` command to compile an executable file
* `CmdTesting`: return the `nitunit` command to test a package
* `CmdManSynopsis`: return the command synopsis from its manpage
* `CmdManOptions`: return the command options descriptions from its manpage

Pull-Request: #2656
Reviewed-by: Jean Privat <jean@pryen.org>