Skip to content

Commit 00d10e6

Browse files
huahuayuholimanligi
authored
cmd/abigen: clarify abigen alias flag usage (#21875)
* doc: clarify abigen alias flag usage update the `abigen --alias` flag help info, give an example to make it more clear related issue: #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]>
1 parent 38c1d59 commit 00d10e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/abigen/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ var (
9696
}
9797
aliasFlag = cli.StringFlag{
9898
Name: "alias",
99-
Usage: "Comma separated aliases for function and event renaming, e.g. foo=bar",
99+
Usage: "Comma separated aliases for function and event renaming, e.g. original1=alias1, original2=alias2",
100100
}
101101
)
102102

0 commit comments

Comments
 (0)