Bug 1302786: add help message for mach taskgraph --tasks-regex r=me
authorDustin J. Mitchell <dustin@mozilla.com>
Thu, 17 Nov 2016 23:46:25 +0000
changeset 370508 add1700c24ca4e854f9c4e66bf433cc8c6696f2d
parent 370507 d607a23fc3dc64956e68b588e53772b9aef48f4f
child 370509 8c3dbc507117517a3569a4b2448973aacad0ae40
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1302786
milestone53.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 1302786: add help message for mach taskgraph --tasks-regex r=me MozReview-Commit-ID: EK4GqfMhUA4
taskcluster/mach_commands.py
--- a/taskcluster/mach_commands.py
+++ b/taskcluster/mach_commands.py
@@ -45,17 +45,19 @@ class ShowTaskGraphSubCommand(SubCommand
                             help="Output the label for each task in the task graph (default)"),
             CommandArgument('--parameters', '-p', required=True,
                             help="parameters file (.yml or .json; see "
                                  "`taskcluster/docs/parameters.rst`)`"),
             CommandArgument('--no-optimize', dest="optimize", action="store_false",
                             default="true",
                             help="do not remove tasks from the graph that are found in the "
                             "index (a.k.a. optimize the graph)"),
-            CommandArgument('--tasks-regex', '--tasks', default=None)
+            CommandArgument('--tasks-regex', '--tasks', default=None,
+                            help="only return tasks with labels matching this regular "
+                            "expression.")
 
         ]
         for arg in args:
             after = arg(after)
         return after
 
 
 @CommandProvider