diff --git a/ronn.md b/ronn.md index b1856f68a..e69e75c0c 100644 --- a/ronn.md +++ b/ronn.md @@ -35,8 +35,11 @@ or more line endings just like Markdown. ## OPTIONS - * `-R`, `--reporter`=[] : - Use the reporter . + * `-h`, `--help` : + Displays the help screen. + + * `--version` : + Displays version information. ## EXAMPLES @@ -121,6 +124,20 @@ See [Man page sections](http://www.december.com/unix/ref/mansec.html) (december. | `7` | Misc | | `8` | System administration commands and procedures | +## Using ronn with npm + +Place manual files in `man/xxx.1.md`, then: + +```js +"scripts": { + "prepublish": "npm run build-man", + "build-man": "ronn man/*.md --html --roff --style=toc,80c --organization=\"@rstacruz\"" +}, +"directories": { + "man": "man" +} +``` + ## JavaScript version See [marked-man](https://github.com/kapouer/marked-man).