Skip to content

Commit

Permalink
cmd/abigen: clarify abigen alias flag usage (ethereum#21875)
Browse files Browse the repository at this point in the history
* doc: clarify abigen alias flag usage

update the `abigen --alias` flag help info, give an example to make it more clear

related issue: ethereum#21846

* Update cmd/abigen/main.go

Co-authored-by: ligi <[email protected]>

Co-authored-by: Martin Holst Swende <[email protected]>
Co-authored-by: ligi <[email protected]>
  • Loading branch information
3 people authored and gzliudan committed Jan 9, 2025
1 parent a06e32a commit 793bb3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/abigen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ var (
}
aliasFlag = &cli.StringFlag{
Name: "alias",
Usage: "Comma separated aliases for function and event renaming, e.g. foo=bar",
Usage: "Comma separated aliases for function and event renaming, e.g. original1=alias1, original2=alias2",
}
)

Expand Down

0 comments on commit 793bb3f

Please sign in to comment.