pages*: make help and version commands comply with the style guide (#12107)
* pages*: use generic word for help * git: add newline to the end Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * pages*: make help and version commands comply with the style guide * java: fix Java name --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
@@ -3,10 +3,6 @@
|
||||
> Makes authenticated HTTP requests to the GitHub API and prints the response.
|
||||
> More information: <https://cli.github.com/manual/gh_api>.
|
||||
|
||||
- Display the subcommand help:
|
||||
|
||||
`gh api --help`
|
||||
|
||||
- Display the releases for the current repository in JSON format:
|
||||
|
||||
`gh api repos/:owner/:repo/releases`
|
||||
@@ -34,3 +30,7 @@
|
||||
- Send a request to a specific GitHub Enterprise Server:
|
||||
|
||||
`gh api --hostname {{github.example.com}} {{endpoint}}`
|
||||
|
||||
- Display the subcommand help:
|
||||
|
||||
`gh api --help`
|
||||
|
Reference in New Issue
Block a user