From b2c7ef37b7aa20acfd0a8fc8489ea1dfe7452e02 Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Tue, 18 Sep 2018 15:01:32 -0500 Subject: [PATCH] rev --node help output --- cmd/cmd.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/cmd.js b/cmd/cmd.js index 52a14e939..b35f538ed 100644 --- a/cmd/cmd.js +++ b/cmd/cmd.js @@ -267,11 +267,11 @@ class Cmd { test() { program .command('test [file]') - .option('-n , --node ', __('Node to connect to. Valid values are ["vm", "embark", ""]: \n') + - ' vm - ' + __('Starts an Ethereum simulator (ganache) and runs the tests using the simulator') + '\n' + - ' embark - ' + __('Uses the node associated with an already running embark process') + '\n' + - ' ' + __(' - Connects to a running node available at the end point and uses it to run the tests')) .option('-d , --gasDetails', __('When set, will print the gas cost for each contract deployment')) + .option('-n , --node ', __('node for running the tests ["vm", "embark", ] (default: vm)\n') + + ' vm - ' + __('start and use an Ethereum simulator (ganache)') + '\n' + + ' embark - ' + __('use the node of a running embark process') + '\n' + + ' - ' + __('connect to and use the specified node')) .option('-c , --coverage', __('generate a coverage report after running the tests (vm only)')) .option('--locale [locale]', __('language to use (default: en)')) .option('--loglevel [loglevel]', __('level of logging to display') + ' ["error", "warn", "info", "debug", "trace"]', /^(error|warn|info|debug|trace)$/i, 'warn')