move usage example into --help text

pull/454/head
Tom Janson 6 years ago
parent a0823a3ee2
commit 7ed178b579
  1. 5
      bin/remixd

@ -19,8 +19,9 @@ program
.option('-r, --rpc <cors-domains>', 'start rpc server. Values are CORS domain')
.option('-rp, --rpc-port', 'rpc server port (default 8545)')
.option('--profiler', 'start profiler service')
.parse(process.argv)
console.log('example: --dev-path /home/devchains/chain1 --mist --geth --frontend /home/frontend --frontend-port 8084 --auto-mine')
.on('--help', function(){
console.log('\nExample:\n\n remixd --dev-path /home/devchains/chain1 --mist --geth --frontend /home/frontend --frontend-port 8084 --auto-mine')
}).parse(process.argv)
program.outputHelp()
var killCallBack = []

Loading…
Cancel
Save