Skip to content

Commit

Permalink
fix(cli): genLocalState '-o' arg is a string and does not need parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanoMondelli committed Mar 20, 2024
1 parent 950e865 commit 3326d4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ program
program
.command("genLocalState")
.description("generate a local MACI state from the smart contracts events")
.requiredOption("-o, --output <outputPath>", "the path where to write the state", parseInt)
.requiredOption("-o, --output <outputPath>", "the path where to write the state")
.requiredOption("-p, --poll-id <pollId>", "the id of the poll", BigInt)
.option("-x, --contract <contract>", "the MACI contract address")
.option("-sk, --privkey <privkey>", "your serialized MACI private key")
Expand Down

0 comments on commit 3326d4a

Please sign in to comment.