feat(cli): display GitHub repository URL in version and help output

This commit is contained in:
kite 2026-06-02 22:50:36 +08:00
parent 558ffe9a91
commit fe647bc489
2 changed files with 4 additions and 1 deletions

View file

@ -86,5 +86,7 @@ Examples:
Use "ocr review -h" for more information about review.
Use "ocr rules -h" for more information about rules.
Use "ocr config" for more information about config.
Use "ocr llm" for more information about LLM utilities.`)
Use "ocr llm" for more information about LLM utilities.
GitHub: https://github.com/alibaba/open-code-review`)
}

View file

@ -21,4 +21,5 @@ func printVersion() {
if BuildDate != "" {
fmt.Printf("built at: %s\n", BuildDate)
}
fmt.Println("https://github.com/alibaba/open-code-review")
}