docs: fix autocli for non module commands example code link (backport #23407) (#23434)

Co-authored-by: Zoro <halimao.cat@qq.com>
This commit is contained in:
mergify[bot] 2025-01-17 10:21:43 +01:00 committed by GitHub
parent 536fe3f706
commit cb11605427
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -252,7 +252,7 @@ It is possible to use `AutoCLI` for non module commands. The trick is still to i
For example, here is how the SDK does it for `cometbft` gRPC commands:
```go reference
https://github.com/cosmos/cosmos-sdk/blob/main/client/grpc/cmtservice/autocli.go#L52-L71
https://github.com/cosmos/cosmos-sdk/blob/release/v0.52.x/client/grpc/cmtservice/autocli.go#L52-L71
```
#### Conventions for the `Use` field in Cobra