help updated

pull/741/head
aniket-engg 4 years ago
parent fb440d1fe0
commit ae30454abd
  1. 6
      libs/remix-tests/src/run.ts
  2. 6
      libs/remix-tests/tests/testRunner.cli.spec.ts

@ -47,10 +47,10 @@ commander.command('help').description('output usage information').action(functio
// get current version // get current version
commander commander
.option('-c, --compiler <string>', 'set compiler version (e.g: 0.6.1, 0.7.1 etc)') .option('-c, --compiler <string>', 'set compiler version (e.g: 0.6.1, 0.7.1 etc)')
.option('-e, --evm <string>', 'set EVM version') .option('-e, --evm <string>', 'set EVM version (e.g: petersburg, istanbul etc)')
.option('-o, --optimize <bool>', 'enable/disable optimization', mapOptimize) .option('-o, --optimize <bool>', 'enable/disable optimization', mapOptimize)
.option('-r, --runs <number>', 'set runs') .option('-r, --runs <number>', 'set runs (e.g: 150, 250 etc)')
.option('-v, --verbose <level>', 'set verbosity level', mapVerbosity) .option('-v, --verbose <level>', 'set verbosity level (0 to 5)', mapVerbosity)
.action(async (testsPath) => { .action(async (testsPath) => {
// Check if path exists // Check if path exists

@ -24,10 +24,10 @@ describe('testRunner: remix-tests CLI', () => {
Options: Options:
-V, --version output the version number -V, --version output the version number
-c, --compiler <string> set compiler version (e.g: 0.6.1, 0.7.1 etc) -c, --compiler <string> set compiler version (e.g: 0.6.1, 0.7.1 etc)
-e, --evm <string> set EVM version -e, --evm <string> set EVM version (e.g: petersburg, istanbul etc)
-o, --optimize <bool> enable/disable optimization -o, --optimize <bool> enable/disable optimization
-r, --runs <number> set runs -r, --runs <number> set runs (e.g: 150, 250 etc)
-v, --verbose <level> set verbosity level -v, --verbose <level> set verbosity level (0 to 5)
-h, --help output usage information -h, --help output usage information
Commands: Commands:

Loading…
Cancel
Save