Skip to content

Commit fe3b602

Browse files
authored
deploy command args length error (iotexproject#1434)
1 parent 732c68b commit fe3b602

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ioctl/cmd/action/actiondeploy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
var actionDeployCmd = &cobra.Command{
2020
Use: "deploy [AMOUNT_IOTX] [-s SIGNER] -b BYTE_CODE [-l GAS_LIMIT] [-p GAS_PRICE] [-P PASSWORD] [-y]",
2121
Short: "Deploy smart contract on IoTeX blockchain",
22-
Args: cobra.MaximumNArgs(0),
22+
Args: cobra.MaximumNArgs(1),
2323
RunE: func(cmd *cobra.Command, args []string) error {
2424
cmd.SilenceUsage = true
2525
err := deploy(args)

0 commit comments

Comments
 (0)