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
|
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:
|
If you want to skip the automatic "git rebase -i" step:
|
||||||
|
|
||||||
git review -R
|
git review -R
|
||||||
|
@@ -549,8 +549,6 @@ def main():
|
|||||||
parser.add_option("-R", "--no-rebase", dest="rebase",
|
parser.add_option("-R", "--no-rebase", dest="rebase",
|
||||||
action="store_false",
|
action="store_false",
|
||||||
help="Don't rebase changes before submitting.")
|
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",
|
parser.add_option("-d", "--download", dest="download",
|
||||||
help="Download the contents of an existing gerrit "
|
help="Download the contents of an existing gerrit "
|
||||||
"review into a branch")
|
"review into a branch")
|
||||||
@@ -565,6 +563,8 @@ def main():
|
|||||||
parser.add_option("-y", "--yes", dest="yes", action="store_true",
|
parser.add_option("-y", "--yes", dest="yes", action="store_true",
|
||||||
help="Indicate that you do, in fact, understand if you "
|
help="Indicate that you do, in fact, understand if you "
|
||||||
"are submitting more than one patch")
|
"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",
|
parser.add_option("--version", dest="version", action="store_true",
|
||||||
help="Print version number and exit")
|
help="Print version number and exit")
|
||||||
parser.set_defaults(dry=False, rebase=True, verbose=False, update=False,
|
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
|
Do not automatically perform a rebase before submitting the change to
|
||||||
gerrit.
|
gerrit.
|
||||||
.TP
|
.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
|
.B \-\-update, \-u
|
||||||
.sp
|
.sp
|
||||||
Skip cached local copies and force updates from network resources.
|
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
|
.sp
|
||||||
Just run the repo setup commands but don\(aqt submit anything
|
Just run the repo setup commands but don\(aqt submit anything
|
||||||
.TP
|
.TP
|
||||||
|
.B \-\-finish, \-f
|
||||||
|
.sp
|
||||||
|
Close down the local branch and switch back to the target branch on
|
||||||
|
successful submission.
|
||||||
|
.TP
|
||||||
.B \-\-yes, \-y
|
.B \-\-yes, \-y
|
||||||
.sp
|
.sp
|
||||||
Indicate that you do, in fact, understand if you are submitting more than
|
Indicate that you do, in fact, understand if you are submitting more than
|
||||||
@@ -74,6 +84,10 @@ one patch
|
|||||||
.B \-\-verbose, \-v
|
.B \-\-verbose, \-v
|
||||||
.sp
|
.sp
|
||||||
Turns on more verbose output.
|
Turns on more verbose output.
|
||||||
|
.TP
|
||||||
|
.B \-\-version
|
||||||
|
.sp
|
||||||
|
Print the version number and exit.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH PROJECT CONFIGURATION
|
.SH PROJECT CONFIGURATION
|
||||||
.sp
|
.sp
|
||||||
|
Reference in New Issue
Block a user