Add verbose option to test/run
If -v is specified print how to run the test manually even if it doesn't fail. Helpful for remembering how to do a RepoAuthoritative build.
Esse commit está contido em:
+2
-1
@@ -90,6 +90,7 @@ function get_options($argv) {
|
||||
'm:' => 'mode:',
|
||||
'' => 'server',
|
||||
'h' => 'help',
|
||||
'' => 'commands',
|
||||
);
|
||||
$options = array();
|
||||
$files = array();
|
||||
@@ -293,7 +294,7 @@ if (isset($options['repo'])) {
|
||||
|
||||
$return_value = run(implode(' ', $verify), $tests);
|
||||
|
||||
if ($return_value) {
|
||||
if ($return_value || isset($options['commands'])) {
|
||||
$command = implode(' ', command_arg($options, $tests));
|
||||
$filename = 'FILENAME';
|
||||
$extra_help = ' change FILENAME to the test you want';
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário