From f06ecf71273e9611300d6303f5186e2d1af6bfaa Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sun, 11 May 2025 17:10:37 +0300 Subject: [PATCH] hub*: add option placeholders (#16439) --- pages/common/hub-ci-status.md | 4 ++-- pages/common/hub-create.md | 2 +- pages/common/hub-issue.md | 4 ++-- pages/common/hub.md | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pages/common/hub-ci-status.md b/pages/common/hub-ci-status.md index 6952e6e40b..56792496f8 100644 --- a/pages/common/hub-ci-status.md +++ b/pages/common/hub-ci-status.md @@ -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}}` diff --git a/pages/common/hub-create.md b/pages/common/hub-create.md index 47d0403a6e..8d8fa5b389 100644 --- a/pages/common/hub-create.md +++ b/pages/common/hub-create.md @@ -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]}}` diff --git a/pages/common/hub-issue.md b/pages/common/hub-issue.md index b4d0cc35b5..a883fe8302 100644 --- a/pages/common/hub-issue.md +++ b/pages/common/hub-issue.md @@ -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}}` diff --git a/pages/common/hub.md b/pages/common/hub.md index 611ae9c8d8..99bc6b5df0 100644 --- a/pages/common/hub.md +++ b/pages/common/hub.md @@ -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: . +> More information: . - Clone a repository using its slug (owners can omit the username):