diff options
author | David Pursehouse <david.pursehouse@sonymobile.com> | 2012-11-15 06:17:30 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@sonymobile.com> | 2012-11-15 06:21:24 +0900 |
commit | 3794a78b80e8b8894a9707629fd8523547cf5cfa (patch) | |
tree | 79164f4572a5064d5897f609c100aecabbdec1e1 | |
parent | 33949c34d28eef7b4a27e0fb1a03221cd3c84113 (diff) | |
download | git-repo-3794a78b80e8b8894a9707629fd8523547cf5cfa.tar.gz |
Sync help text in repo from init.py
Change Ia6032865f9296b29524c2c25b72bd8e175b30489 improved the
help text for the init command, but the same improvement was not made
in repo.
Change-Id: Idc34e479b5237137b90e8b040824776e4f7883b0
-rwxr-xr-x | repo | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -154,7 +154,8 @@ group.add_option('-m', '--manifest-name', | |||
154 | help='initial manifest file', metavar='NAME.xml') | 154 | help='initial manifest file', metavar='NAME.xml') |
155 | group.add_option('--mirror', | 155 | group.add_option('--mirror', |
156 | dest='mirror', action='store_true', | 156 | dest='mirror', action='store_true', |
157 | help='mirror the forrest') | 157 | help='create a replica of the remote repositories ' |
158 | 'rather than a client working directory') | ||
158 | group.add_option('--reference', | 159 | group.add_option('--reference', |
159 | dest='reference', | 160 | dest='reference', |
160 | help='location of mirror directory', metavar='DIR') | 161 | help='location of mirror directory', metavar='DIR') |
@@ -225,7 +226,7 @@ def _Init(args): | |||
225 | except OSError as e: | 226 | except OSError as e: |
226 | print('fatal: cannot make %s directory: %s' | 227 | print('fatal: cannot make %s directory: %s' |
227 | % (repodir, e.strerror), file=sys.stderr) | 228 | % (repodir, e.strerror), file=sys.stderr) |
228 | # Don't faise CloneFailure; that would delete the | 229 | # Don't raise CloneFailure; that would delete the |
229 | # name. Instead exit immediately. | 230 | # name. Instead exit immediately. |
230 | # | 231 | # |
231 | sys.exit(1) | 232 | sys.exit(1) |