Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help option error #47

Closed
ikokostya opened this issue Feb 17, 2012 · 1 comment
Closed

help option error #47

ikokostya opened this issue Feb 17, 2012 · 1 comment

Comments

@ikokostya
Copy link

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.<anonymous> (node.js:284:20)
    at Command.<anonymous> (/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.<anonymous> (/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
@tj
Copy link
Owner

tj commented Feb 23, 2012

fixed with the latest

@tj tj closed this as completed Feb 23, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants