diff options
Diffstat (limited to 'packages/deployer/src')
-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', }) |