diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-07 19:40:53 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-07 19:40:53 +0800 |
commit | 3d51bc1ada697e4b4fdac83bc61b2a4459d59469 (patch) | |
tree | 31f9ee358f25e26ccb748d7e647477f615e97c52 | |
parent | 95df4433dc31cfb59d2a75c18f05af92d7677db9 (diff) | |
download | dexon-0x-contracts-3d51bc1ada697e4b4fdac83bc61b2a4459d59469.tar dexon-0x-contracts-3d51bc1ada697e4b4fdac83bc61b2a4459d59469.tar.gz dexon-0x-contracts-3d51bc1ada697e4b4fdac83bc61b2a4459d59469.tar.bz2 dexon-0x-contracts-3d51bc1ada697e4b4fdac83bc61b2a4459d59469.tar.lz dexon-0x-contracts-3d51bc1ada697e4b4fdac83bc61b2a4459d59469.tar.xz dexon-0x-contracts-3d51bc1ada697e4b4fdac83bc61b2a4459d59469.tar.zst dexon-0x-contracts-3d51bc1ada697e4b4fdac83bc61b2a4459d59469.zip |
Rename args to constructor-args
-rw-r--r-- | packages/deployer/src/cli.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/deployer/src/cli.ts b/packages/deployer/src/cli.ts index 87a8a6c65..9c029a225 100644 --- a/packages/deployer/src/cli.ts +++ b/packages/deployer/src/cli.ts @@ -59,7 +59,7 @@ async function onDeployCommandAsync(argv: CliOptions): Promise<void> { networkId, defaults, }; - const deployerArgsString = argv.args as string; + const deployerArgsString = argv.constructorArgs as string; const deployerArgs = deployerArgsString.split(SEPARATOR); await commands.deployAsync(argv.contract as string, deployerArgs, deployerOpts); } @@ -78,7 +78,7 @@ function deployCommandBuilder(yargsInstance: any) { type: 'string', description: 'name of contract to deploy, excluding .sol extension', }) - .option('args', { + .option('constructor-args', { type: 'string', description: 'comma separated list of constructor args to deploy contract with', }) |