Fix type for target-tasks-method
authorAnthony Miyaguchi <amiyaguchi@mozilla.com>
Wed, 24 Aug 2016 20:23:23 -0700
changeset 829527 a38b3cf8c56d32ac0a2cfcf82c03737da801f2e8
parent 829461 df7d4d64265d1e183698e26539debf04c34d4c88
child 1003650 736205e56157e64c71ecadd35e72f75bd15495b6
push id140889
push useramiyaguchi@mozilla.com
push dateThu, 25 Aug 2016 03:24:03 +0000
treeherdertry@a38b3cf8c56d [default view] [failures only]
milestone51.0a1
Fix type for target-tasks-method
taskcluster/mach_commands.py
--- a/taskcluster/mach_commands.py
+++ b/taskcluster/mach_commands.py
@@ -143,17 +143,17 @@ class MachCommands(MachCommandBase):
                      help='email address of who owns this graph')
     @CommandArgument('--level',
                      required=True,
                      help='SCM level of this repository')
     @CommandArgument('--triggered-by',
                      choices=['nightly', 'push'],
                      default='push',
                      help='Source of execution of the decision graph')
-    @CommandArgument('--target_tasks_method',
+    @CommandArgument('--target-tasks-method',
                      default='all_tasks',
                      help='method for selecting the target tasks to generate')
     def taskgraph_decision(self, **options):
         """Run the decision task: generate a task graph and submit to
         TaskCluster.  This is only meant to be called within decision tasks,
         and requires a great many arguments.  Commands like `mach taskgraph
         optimized` are better suited to use on the command line, and can take
         the parameters file generated by a decision task.  """