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 <ligi@ligi.de>

Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: ligi <ligi@ligi.de>
  • Loading branch information
3 people authored and gzliudan committed Jan 7, 2025
1 parent eba3bd2 commit 31bd094
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 31bd094

Please sign in to comment.