Update console command options

This commit is contained in:
Anthony Laibe 2018-07-23 13:36:15 +01:00 committed by Iuri Matias
parent a161e6856c
commit ffd483b7e6
1 changed files with 1 additions and 2 deletions

View File

@ -143,11 +143,10 @@ class Cmd {
program
.command('console [environment]')
.option('-c, --client [client]', __('Use a specific ethereum client or simulator (supported: %s)', 'geth, testrpc'))
.option('--no-color', __('no colors in case it\'s needed for compatbility purposes'))
.option('--logfile [logfile]', __('filename to output logs (default: %s)', 'none'))
.option('--loglevel [loglevel]', __('level of logging to display') + ' ["error", "warn", "info", "debug", "trace"]', /^(error|warn|info|debug|trace)$/i, 'debug')
.option('--locale [locale]', __('language to use (default: en)'))
.description(__('deploy, build dapp at ') + 'dist/ (default: development)' + __(' and display the console'))
.description(__('Start the Embark console'))
.action(function (env, options) {
i18n.setOrDetectLocale(options.locale);
embark.console({