Long options causing error when parsed #287

whitepaperclip opened this Issue Dec 16, 2012 · 1 comment

1 participant

[~/Code/project]$ geddy --port 8888

    throw new Error(cmds[0] + ' command requires another argument.');
Error: 8888 command requires another argument.
    at Object.<anonymous> (/usr/local/lib/node_modules/geddy/bin/cli.js:142:11)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.runMain (module.js:492:10)
    at process.startup.processNextTick.process._tickCallback (node.js:244:9)

Never mind! Long options take an equals.

geddy --port=8888
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment