aboutsummaryrefslogtreecommitdiffstats
path: root/packages/deployer/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-05-07 19:40:53 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-05-07 19:40:53 +0800
commit3d51bc1ada697e4b4fdac83bc61b2a4459d59469 (patch)
tree31f9ee358f25e26ccb748d7e647477f615e97c52 /packages/deployer/src
parent95df4433dc31cfb59d2a75c18f05af92d7677db9 (diff)
downloaddexon-sol-tools-3d51bc1ada697e4b4fdac83bc61b2a4459d59469.tar.gz
dexon-sol-tools-3d51bc1ada697e4b4fdac83bc61b2a4459d59469.tar.zst
dexon-sol-tools-3d51bc1ada697e4b4fdac83bc61b2a4459d59469.zip
Rename args to constructor-args
Diffstat (limited to 'packages/deployer/src')
-rw-r--r--packages/deployer/src/cli.ts4
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',
})