Avoid using <...> in docs
When converted to HTML docs, these get interpreted as HTML tags. In theory, we could encapsulate these bits in backticks, but the docs are already in raw Go string literals, and we can't easily escape backticks in that context. Instead, just avoid using `<>` for now.
This commit is contained in:
parent
305410cdee
commit
f5ad43458c
2 changed files with 3 additions and 3 deletions
|
|
@ -47,7 +47,7 @@ var issueCmd = &cobra.Command{
|
|||
|
||||
An issue can be supplied as argument in any of the following formats:
|
||||
- by number, e.g. "123"; or
|
||||
- by URL, e.g. "https://github.com/<owner>/<repo>/issues/123".`,
|
||||
- by URL, e.g. "https://github.com/OWNER/REPO/issues/123".`,
|
||||
}
|
||||
var issueCreateCmd = &cobra.Command{
|
||||
Use: "create",
|
||||
|
|
|
|||
|
|
@ -42,8 +42,8 @@ var prCmd = &cobra.Command{
|
|||
|
||||
A pull request can be supplied as argument in any of the following formats:
|
||||
- by number, e.g. "123";
|
||||
- by URL, e.g. "https://github.com/<owner>/<repo>/pull/123"; or
|
||||
- by the name of its head branch, e.g. "patch-1" or "<owner>:patch-1".`,
|
||||
- by URL, e.g. "https://github.com/OWNER/REPO/pull/123"; or
|
||||
- by the name of its head branch, e.g. "patch-1" or "OWNER:patch-1".`,
|
||||
}
|
||||
var prCheckoutCmd = &cobra.Command{
|
||||
Use: "checkout {<number> | <url> | <branch>}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue