Document the new command line options.
Change-Id: I1361138ec556a9dd51b60657ed0e487168b8df66
This commit is contained in:
@@ -34,6 +34,10 @@ If you want to supply a review topic:
|
||||
|
||||
git review -t topic/awesome-feature
|
||||
|
||||
If you want to submit a branch for review and then remove the local branch:
|
||||
|
||||
git review -f
|
||||
|
||||
If you want to skip the automatic "git rebase -i" step:
|
||||
|
||||
git review -R
|
||||
|
@@ -549,8 +549,6 @@ def main():
|
||||
parser.add_option("-R", "--no-rebase", dest="rebase",
|
||||
action="store_false",
|
||||
help="Don't rebase changes before submitting.")
|
||||
parser.add_option("-v", "--verbose", dest="verbose", action="store_true",
|
||||
help="Output more information about what's going on")
|
||||
parser.add_option("-d", "--download", dest="download",
|
||||
help="Download the contents of an existing gerrit "
|
||||
"review into a branch")
|
||||
@@ -565,6 +563,8 @@ def main():
|
||||
parser.add_option("-y", "--yes", dest="yes", action="store_true",
|
||||
help="Indicate that you do, in fact, understand if you "
|
||||
"are submitting more than one patch")
|
||||
parser.add_option("-v", "--verbose", dest="verbose", action="store_true",
|
||||
help="Output more information about what's going on")
|
||||
parser.add_option("--version", dest="version", action="store_true",
|
||||
help="Print version number and exit")
|
||||
parser.set_defaults(dry=False, rebase=True, verbose=False, update=False,
|
||||
|
14
git-review.1
14
git-review.1
@@ -58,6 +58,11 @@ git remote to use for gerrit
|
||||
Do not automatically perform a rebase before submitting the change to
|
||||
gerrit.
|
||||
.TP
|
||||
.B \-\-download, \-d
|
||||
.sp
|
||||
Treat the argument as the review id of a review to download into a local
|
||||
branch.
|
||||
.TP
|
||||
.B \-\-update, \-u
|
||||
.sp
|
||||
Skip cached local copies and force updates from network resources.
|
||||
@@ -66,6 +71,11 @@ Skip cached local copies and force updates from network resources.
|
||||
.sp
|
||||
Just run the repo setup commands but don\(aqt submit anything
|
||||
.TP
|
||||
.B \-\-finish, \-f
|
||||
.sp
|
||||
Close down the local branch and switch back to the target branch on
|
||||
successful submission.
|
||||
.TP
|
||||
.B \-\-yes, \-y
|
||||
.sp
|
||||
Indicate that you do, in fact, understand if you are submitting more than
|
||||
@@ -74,6 +84,10 @@ one patch
|
||||
.B \-\-verbose, \-v
|
||||
.sp
|
||||
Turns on more verbose output.
|
||||
.TP
|
||||
.B \-\-version
|
||||
.sp
|
||||
Print the version number and exit.
|
||||
.UNINDENT
|
||||
.SH PROJECT CONFIGURATION
|
||||
.sp
|
||||
|
Reference in New Issue
Block a user