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
diff --git a/repo b/repo
index 32c5895..ac1eca8 100755
--- a/repo
+++ b/repo
@@ -154,7 +154,8 @@
help='initial manifest file', metavar='NAME.xml')
group.add_option('--mirror',
dest='mirror', action='store_true',
- help='mirror the forrest')
+ help='create a replica of the remote repositories '
+ 'rather than a client working directory')
group.add_option('--reference',
dest='reference',
help='location of mirror directory', metavar='DIR')
@@ -225,7 +226,7 @@
except OSError as e:
print('fatal: cannot make %s directory: %s'
% (repodir, e.strerror), file=sys.stderr)
- # Don't faise CloneFailure; that would delete the
+ # Don't raise CloneFailure; that would delete the
# name. Instead exit immediately.
#
sys.exit(1)