cli: replace calls to process.exit with exit as Windows workaround for joyent/node#3584
Merge pull request #227 from shama/fix/win-exit

cli: replace calls to process.exit with exit as Windows workaround
cli usage api