Bug 1302765 - Allow `./mach taskgraph .. --parameters P` to take a URL -2; r?dustin draft Bug-1302765
authorHammad Akhtar <hammad13060@iiitd.ac.in>
Wed, 23 Nov 2016 12:34:25 +0530
changeset 442792 7ae2f371ba11b48c9d994ce320c053bad92363be
parent 442791 0744c17e199f7de7574fa43b19658b6ac6d09105
child 442808 40fce912d7eb2e8e322cfba14e3f0110fc9cea52
push id36811
push userhammad13060@iiitd.ac.in
push dateWed, 23 Nov 2016 07:04:53 +0000
Bug 1302765 - Allow `./mach taskgraph .. --parameters P` to take a URL -2; r?dustin MozReview-Commit-ID: E4tMw1nHX2G
--- a/taskcluster/mach_commands.py
+++ b/taskcluster/mach_commands.py
@@ -38,17 +38,17 @@ class ShowTaskGraphSubCommand(SubCommand
             CommandArgument('--verbose', '-v', action="store_true",
                             help="include debug-level logging output"),
             CommandArgument('--json', '-J', action="store_const",
                             dest="format", const="json",
                             help="Output task graph as a JSON object"),
             CommandArgument('--labels', '-L', action="store_const",
                             dest="format", const="labels",
                             help="Output the label for each task in the task graph (default)"),
-            CommandArgument('--parameters', '-p', default=False,
+            CommandArgument('--parameters', '-p', default=None,
                             help="parameters file (.yml or .json; see "
             CommandArgument('--no-optimize', dest="optimize", action="store_false",
                             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,
                             help="only return tasks with labels matching this regular "