Clarify options that control the repo executable version

Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce 2009-04-18 11:28:57 -07:00
parent a490f03dc2
commit fd89b67f5c
4 changed files with 8 additions and 6 deletions

2
repo
View File

@ -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')

View File

@ -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')

View File

@ -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)

View File

@ -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)