summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2012-11-15 06:17:30 +0900
committerDavid Pursehouse <david.pursehouse@sonymobile.com>2012-11-15 06:21:24 +0900
commit3794a78b80e8b8894a9707629fd8523547cf5cfa (patch)
tree79164f4572a5064d5897f609c100aecabbdec1e1
parent33949c34d28eef7b4a27e0fb1a03221cd3c84113 (diff)
downloadgit-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-xrepo5
1 files changed, 3 insertions, 2 deletions
diff --git a/repo b/repo
index 32c5895f..ac1eca8f 100755
--- a/repo
+++ b/repo
@@ -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')
155group.add_option('--mirror', 155group.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')
158group.add_option('--reference', 159group.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)