From 88fcebe39618b54ec3c7b3d5cb663682c65f2e61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Sun, 5 May 2019 09:13:50 +0200 Subject: [PATCH] Enhancement: Keep option values sorted in help output --- src/TextUI/Help.php | 2 +- tests/end-to-end/cli/_files/output-cli-help-color.txt | 2 +- tests/end-to-end/cli/_files/output-cli-usage.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/TextUI/Help.php b/src/TextUI/Help.php index 59f845b1d95..535d9f74637 100644 --- a/src/TextUI/Help.php +++ b/src/TextUI/Help.php @@ -100,7 +100,7 @@ final class Help ['arg' => '--printer ', 'desc' => 'TestListener implementation to use'], ['spacer' => ''], - ['arg' => '--order-by=', 'desc' => 'Run tests in order: default|defects|depends|duration|no-depends|random|reverse'], + ['arg' => '--order-by=', 'desc' => 'Run tests in order: default|defects|no-depends|random|reverse'], ['arg' => '--random-order-seed=', 'desc' => 'Use a specific random seed for random order'], ['arg' => '--cache-result', 'desc' => 'Write test results to cache file'], ['arg' => '--do-not-cache-result', 'desc' => 'Do not write test results to cache file'], diff --git a/tests/end-to-end/cli/_files/output-cli-help-color.txt b/tests/end-to-end/cli/_files/output-cli-help-color.txt index 0eeba001cfb..9c3f8c004f8 100644 --- a/tests/end-to-end/cli/_files/output-cli-help-color.txt +++ b/tests/end-to-end/cli/_files/output-cli-help-color.txt @@ -99,7 +99,7 @@ --printer   TestListener implementation to use --order-by=  Run tests in order: - default|defects|depends|duration|no-depends|random|reverse + default|defects|no-depends|random|reverse --random-order-seed=  Use a specific random seed for random order --cache-result  Write test results to cache file diff --git a/tests/end-to-end/cli/_files/output-cli-usage.txt b/tests/end-to-end/cli/_files/output-cli-usage.txt index 9a343c43177..a568f31a074 100644 --- a/tests/end-to-end/cli/_files/output-cli-usage.txt +++ b/tests/end-to-end/cli/_files/output-cli-usage.txt @@ -77,7 +77,7 @@ Test Execution Options: --testdox-exclude-group Exclude tests from the specified group(s) --printer TestListener implementation to use - --order-by= Run tests in order: default|defects|depends|duration|no-depends|random|reverse + --order-by= Run tests in order: default|defects|no-depends|random|reverse --random-order-seed= Use a specific random seed for random order --cache-result Write test results to cache file --do-not-cache-result Do not write test results to cache file