mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
Clarify options that control the repo executable version
Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
parent
a490f03dc2
commit
fd89b67f5c
2
repo
2
repo
@ -120,7 +120,7 @@ group.add_option('--mirror',
|
|||||||
help='mirror the forrest')
|
help='mirror the forrest')
|
||||||
|
|
||||||
# Tool
|
# Tool
|
||||||
group = init_optparse.add_option_group('Version options')
|
group = init_optparse.add_option_group('repo Version options')
|
||||||
group.add_option('--repo-url',
|
group.add_option('--repo-url',
|
||||||
dest='repo_url',
|
dest='repo_url',
|
||||||
help='repo repository location', metavar='URL')
|
help='repo repository location', metavar='URL')
|
||||||
|
@ -64,7 +64,7 @@ default.xml will be used.
|
|||||||
|
|
||||||
|
|
||||||
# Tool
|
# Tool
|
||||||
g = p.add_option_group('Version options')
|
g = p.add_option_group('repo Version options')
|
||||||
g.add_option('--repo-url',
|
g.add_option('--repo-url',
|
||||||
dest='repo_url',
|
dest='repo_url',
|
||||||
help='repo repository location', metavar='URL')
|
help='repo repository location', metavar='URL')
|
||||||
|
@ -35,10 +35,11 @@ need to be performed by an end-user.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def _Options(self, p):
|
def _Options(self, p):
|
||||||
p.add_option('--no-repo-verify',
|
g = p.add_option_group('repo Version options')
|
||||||
|
g.add_option('--no-repo-verify',
|
||||||
dest='no_repo_verify', action='store_true',
|
dest='no_repo_verify', action='store_true',
|
||||||
help='do not verify repo source code')
|
help='do not verify repo source code')
|
||||||
p.add_option('--repo-upgraded',
|
g.add_option('--repo-upgraded',
|
||||||
dest='repo_upgraded', action='store_true',
|
dest='repo_upgraded', action='store_true',
|
||||||
help=SUPPRESS_HELP)
|
help=SUPPRESS_HELP)
|
||||||
|
|
||||||
|
@ -66,10 +66,11 @@ revision is temporarily needed.
|
|||||||
dest='detach_head', action='store_true',
|
dest='detach_head', action='store_true',
|
||||||
help='detach projects back to manifest revision')
|
help='detach projects back to manifest revision')
|
||||||
|
|
||||||
p.add_option('--no-repo-verify',
|
g = p.add_option_group('repo Version options')
|
||||||
|
g.add_option('--no-repo-verify',
|
||||||
dest='no_repo_verify', action='store_true',
|
dest='no_repo_verify', action='store_true',
|
||||||
help='do not verify repo source code')
|
help='do not verify repo source code')
|
||||||
p.add_option('--repo-upgraded',
|
g.add_option('--repo-upgraded',
|
||||||
dest='repo_upgraded', action='store_true',
|
dest='repo_upgraded', action='store_true',
|
||||||
help=SUPPRESS_HELP)
|
help=SUPPRESS_HELP)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user