Sfoglia il codice sorgente

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
David Pursehouse 13 anni fa
parent
commit
3794a78b80
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 3 2
      repo

+ 3 - 2
repo

@@ -154,7 +154,8 @@ group.add_option('-m', '--manifest-name',
                  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 @@ def _Init(args):
     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)