1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 04:35:25 +02:00

hub*: add option placeholders (#16439)

This commit is contained in:
Managor 2025-05-11 17:10:37 +03:00 committed by GitHub
parent 8281048a8b
commit f06ecf7127
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 6 deletions

View file

@ -5,8 +5,8 @@
- Check the CI status for this branch:
`hub ci-status --verbose`
`hub ci-status {{[-v|--verbose]}}`
- Display status of GitHub checks for a commit:
`hub ci-status --verbose {{commit_SHA}}`
`hub ci-status {{[-v|--verbose]}} {{commit_SHA}}`

View file

@ -9,4 +9,4 @@
- Create a private repository and open the new repository in a web browser:
`hub create --private --browse`
`hub create {{[-p|--private]}} {{[-o|--browse]}}`

View file

@ -5,7 +5,7 @@
- List the last 10 issues with the `bug` label:
`hub issue list --limit {{10}} --labels "{{bug}}"`
`hub issue list {{[-L|--limit]}} {{10}} {{[-l|--labels]}} "{{bug}}"`
- Display a specific issue:
@ -13,4 +13,4 @@
- List 10 closed issues assigneed to a specific user:
`hub issue --state {{closed}} --assignee {{username}} --limit {{10}}`
`hub issue {{[-s|--state]}} {{closed}} {{[-a|--assignee]}} {{username}} --limit {{10}}`

View file

@ -2,7 +2,7 @@
> A wrapper for Git that adds commands for working with GitHub-based projects.
> If set up as instructed by `hub alias`, one can use `git` to run `hub` commands.
> More information: <https://hub.github.com>.
> More information: <https://hub.github.com/hub.1.html>.
- Clone a repository using its slug (owners can omit the username):