mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
Merge "Always show --manifest-server-* options"
This commit is contained in:
commit
1ad7b555df
@ -173,6 +173,12 @@ later is required to fix a server side protocol bug.
|
|||||||
p.add_option('--no-clone-bundle',
|
p.add_option('--no-clone-bundle',
|
||||||
dest='no_clone_bundle', action='store_true',
|
dest='no_clone_bundle', action='store_true',
|
||||||
help='disable use of /clone.bundle on HTTP/HTTPS')
|
help='disable use of /clone.bundle on HTTP/HTTPS')
|
||||||
|
p.add_option('-u', '--manifest-server-username', action='store',
|
||||||
|
dest='manifest_server_username',
|
||||||
|
help='username to authenticate with the manifest server')
|
||||||
|
p.add_option('-p', '--manifest-server-password', action='store',
|
||||||
|
dest='manifest_server_password',
|
||||||
|
help='password to authenticate with the manifest server')
|
||||||
if show_smart:
|
if show_smart:
|
||||||
p.add_option('-s', '--smart-sync',
|
p.add_option('-s', '--smart-sync',
|
||||||
dest='smart_sync', action='store_true',
|
dest='smart_sync', action='store_true',
|
||||||
@ -180,12 +186,6 @@ later is required to fix a server side protocol bug.
|
|||||||
p.add_option('-t', '--smart-tag',
|
p.add_option('-t', '--smart-tag',
|
||||||
dest='smart_tag', action='store',
|
dest='smart_tag', action='store',
|
||||||
help='smart sync using manifest from a known tag')
|
help='smart sync using manifest from a known tag')
|
||||||
p.add_option('-u', '--manifest-server-username', action='store',
|
|
||||||
dest='manifest_server_username',
|
|
||||||
help='username to authenticate with the manifest server')
|
|
||||||
p.add_option('-p', '--manifest-server-password', action='store',
|
|
||||||
dest='manifest_server_password',
|
|
||||||
help='password to authenticate with the manifest server')
|
|
||||||
|
|
||||||
g = p.add_option_group('repo Version options')
|
g = p.add_option_group('repo Version options')
|
||||||
g.add_option('--no-repo-verify',
|
g.add_option('--no-repo-verify',
|
||||||
|
Loading…
Reference in New Issue
Block a user