some improvement to cli.js

Should be exit code `0`.