visionmedia/dox — Issue #47: help option error
Author: ikokostya
Created: 2012-02-17 23:09:11+00:00
State: open

```javascript
dox -h

Usage: dox [options]

Options:

-h, --help output usage information
-V, --version output the version number
-d, --debug output parsed comments for debugging

Examples:

# stdin
$ dox > myfile.json

# operates over stdio
$ dox < myfile.js > myfile.json

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: process.stdout cannot be closed.
at WriteStream. (node.js:284:20)
at Command. (/usr/local/lib/node_modules/dox/node_modules/commander/lib/commander.js:908:18)
at Command.emit (events.js:88:20)
at Command.parseOptions (/usr/local/lib/node_modules/dox/node_modules/commander/lib/commander.js:439:14)
at Command.parse (/usr/local/lib/node_modules/dox/node_modules/commander/lib/commander.js:323:20)
at Object. (/usr/local/lib/node_modules/dox/bin/dox:32:9)
at Module._compile (module.js:444:26)
at Object..js (module.js:462:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
```

```
node v0.6.9
dox v0.1.3
```