Add loadWithArgv() to Maintenance class
authorAndrew H <crazy4sb@gmail.com>
Wed, 30 Dec 2015 20:43:10 +0000 (20:43 +0000)
committerAndrew H <crazy4sb@gmail.com>
Thu, 31 Dec 2015 01:18:48 +0000 (01:18 +0000)
commit1ae06b4f3e85868e118ff46a393eb73de09bf34f
treee37195a9190dbb9d11be1832d97871284cdf785a
parentfa8e1a9b00d872f445b65312f554db03230a5502
Add loadWithArgv() to Maintenance class

Very useful for passing in arguments to test Maintenance scripts.
Also, add a comment clarifying when $orderedOptions is available.

Change-Id: Ib25b3b36816bdf566c427b67646554a31a9fef0f
maintenance/Maintenance.php
tests/phpunit/maintenance/MaintenanceTest.php