Skip to content

Commit

Permalink
fix(cli): Typos in cli output (#2428)
Browse files Browse the repository at this point in the history
This PR corrects some types in the cli output.

# Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if
the PR is ready to merge.
- [ ] If the pull request requires a cryptography review (e.g.
cryptographic algorithm implementations) I have added the 'crypto' tag.
- [ ] I have reviewed my diff in github, line by line and removed
unexpected formatting changes, testing logs, or commented-out code.
- [ ] Every change is related to the PR description.
- [ ] I have
[linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue)
this pull request to relevant issues (if any exist).
  • Loading branch information
PhilWindle authored Sep 28, 2023
1 parent defea83 commit 08acf90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yarn-project/cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ export function getProgram(log: LogFn, debugLogger: DebugLogger): Command {
program
.command('send')
.description('Calls a function on an Aztec contract.')
.argument('<functionName>', 'Name of Function to view')
.argument('<functionName>', 'Name of function to execute')
.option('-a, --args [functionArgs...]', 'Function arguments', [])
.requiredOption(
'-c, --contract-abi <fileLocation>',
Expand Down Expand Up @@ -416,7 +416,7 @@ export function getProgram(log: LogFn, debugLogger: DebugLogger): Command {
.description(
'Simulates the execution of a view (read-only) function on a deployed contract, without modifying state.',
)
.argument('<functionName>', 'Name of Function to view')
.argument('<functionName>', 'Name of function to call')
.option('-a, --args [functionArgs...]', 'Function arguments', [])
.requiredOption(
'-c, --contract-abi <fileLocation>',
Expand Down

0 comments on commit 08acf90

Please sign in to comment.