summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>2023-03-05 12:23:04 +0100
committerOswald Buddenhagen <oswald.buddenhagen@gmx.de>2023-06-01 07:30:39 +0000
commit93f343557d2ff6e1b96b902f6c2f842a54c7a887 (patch)
tree9313651c5d7a653cc5b65138226322ec155aab91
parent9d46982641e0584c61a9b3ccc5f0ae43fe0b68ce (diff)
gpush/gpick: consistently include arguments in help text
while at it, also mention that the topic can be deleted. Change-Id: Idb5a81fb3b816c69303119377d4b8e8dd1b9a0d2 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rwxr-xr-xbin/git-gpick4
-rwxr-xr-xbin/git-gpush9
2 files changed, 7 insertions, 6 deletions
diff --git a/bin/git-gpick b/bin/git-gpick
index 9f66565..a3cf901 100755
--- a/bin/git-gpick
+++ b/bin/git-gpick
@@ -137,11 +137,11 @@ Options:
disables all actions that modify the structure of a series and
implies --ignore-struct.
- -r, --remote
+ -r, --remote <remote>
Specify the remote used to determine the Gerrit server to fetch
PatchSets from. The fallback behavior matches git-gpush.
- -b, --branch
+ -b, --branch <branch>
Specify the branch for which the Changes to download were pushed
to Gerrit. In case of ambiguity, the default is the upstram branch
of the current local branch.
diff --git a/bin/git-gpush b/bin/git-gpush
index 2d47df0..6d001a1 100755
--- a/bin/git-gpush
+++ b/bin/git-gpush
@@ -115,10 +115,10 @@ Options:
-f, --force
Push despite newer PatchSets being on Gerrit.
- -r, --remote
+ -r, --remote <remote>
Specify the git remote to push to.
- -b, --branch
+ -b, --branch <branch>
Specify the git branch to push for. If not specified, 'from's
upstream branch is used as the target branch.
This setting persists for the series, even when it grows.
@@ -127,11 +127,12 @@ Options:
Push for specified branch despite the pushed Changes having
been pushed previously, but only for different branches.
- -t, --topic
+ -t, --topic <topic>
Specify the Gerrit topic name for the pushed Changes.
This setting persists for the series, even when it grows.
+ Use an empty topic to delete a previously set one.
- -o, --onto, --base
+ -o, --onto, --base <base>
Specify the commit to rebase the pushed series onto. It is possible
to specify arbitrary other commits already known to Gerrit, including
still pending PatchSets. Use 'ROOT' to orphan the series.