Bug 1509900 - Improve documentation for taskcluster-load-image. r=dustin
authorKartikaya Gupta <kgupta@mozilla.com>
Mon, 26 Nov 2018 18:24:43 +0000
changeset 507296 5c990a7c358c28af90cd8eaa6bfaf1b8bda061e5
parent 507295 a9b90a979fc70966dde072d66d97bde8e69066bb
child 507297 49a2721bf1d805bba91fdf5c18b638925395d85d
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin
bugs1509900
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1509900 - Improve documentation for taskcluster-load-image. r=dustin Differential Revision: https://phabricator.services.mozilla.com/D12932
taskcluster/mach_commands.py
--- a/taskcluster/mach_commands.py
+++ b/taskcluster/mach_commands.py
@@ -416,27 +416,28 @@ class TaskClusterImagesProvider(MachComm
     def _ensure_zstd(self):
         try:
             import zstandard  # noqa: F401
         except (ImportError, AttributeError):
             self._activate_virtualenv()
             self.virtualenv_manager.install_pip_package('zstandard==0.9.0')
 
     @Command('taskcluster-load-image', category="ci",
-             description="Load a pre-built Docker image")
+             description="Load a pre-built Docker image. Note that you need to "
+                         "have docker installed and running for this to work.")
     @CommandArgument('--task-id',
-                     help="Load the image at public/image.tar.zst in this task,"
+                     help="Load the image at public/image.tar.zst in this task, "
                           "rather than searching the index")
     @CommandArgument('-t', '--tag',
                      help="tag that the image should be loaded as. If not "
                           "image will be loaded with tag from the tarball",
                      metavar="name:tag")
     @CommandArgument('image_name', nargs='?',
-                     help="Load the image of this name based on the current"
-                          "contents of the tree (as built for mozilla-central"
+                     help="Load the image of this name based on the current "
+                          "contents of the tree (as built for mozilla-central "
                           "or mozilla-inbound)")
     def load_image(self, image_name, task_id, tag):
         self._ensure_zstd()
         from taskgraph.docker import load_image_by_name, load_image_by_task_id
         if not image_name and not task_id:
             print("Specify either IMAGE-NAME or TASK-ID")
             sys.exit(1)
         try: