From a51f56b7df48b87f14f44a34a4db80534ff0e084 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Wed, 18 Oct 2017 17:59:56 +0200 Subject: [PATCH 1/3] Mentioned the case-insensitivity of command shortcuts --- components/console/usage.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/components/console/usage.rst b/components/console/usage.rst index faeb636ba6a..3eb0b79f358 100644 --- a/components/console/usage.rst +++ b/components/console/usage.rst @@ -148,6 +148,16 @@ can run it with: $ php application.php d:g Fabien + # as long as it's unambiguous, you can slo mix upper and lower case + # php application.php Demo:g Fabien + # php application.php de:Gr Fabien + # php application.php DE:Gre Fabien + If you enter a short command that's ambiguous (i.e. there are more than one command that match), then no command will be run and some suggestions of the possible commands to choose from will be output. + +.. versionadded:: 3.4 + Case-insensitivity of command shortcuts was introduced in Symfony 3.4. In + previous Symfony versions, shortcuts must match the case of the original + command name (e.g. ``d:g`` was not the same shortcut as ``D:G``). From c28a0517fb0995d8e8aef86292683e162d628ae4 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Wed, 18 Oct 2017 18:00:51 +0200 Subject: [PATCH 2/3] Fixed typo --- components/console/usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/console/usage.rst b/components/console/usage.rst index 3eb0b79f358..46a404a5aa4 100644 --- a/components/console/usage.rst +++ b/components/console/usage.rst @@ -148,7 +148,7 @@ can run it with: $ php application.php d:g Fabien - # as long as it's unambiguous, you can slo mix upper and lower case + # as long as it's unambiguous, you can also mix upper and lower case # php application.php Demo:g Fabien # php application.php de:Gr Fabien # php application.php DE:Gre Fabien From 6af99daa6f133b5ec0644f12924e1c0071972127 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Sat, 28 Oct 2017 10:22:34 +0200 Subject: [PATCH 3/3] Fixed a grammar issue --- components/console/usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/console/usage.rst b/components/console/usage.rst index 46a404a5aa4..bf77b3d6e91 100644 --- a/components/console/usage.rst +++ b/components/console/usage.rst @@ -159,5 +159,5 @@ the possible commands to choose from will be output. .. versionadded:: 3.4 Case-insensitivity of command shortcuts was introduced in Symfony 3.4. In - previous Symfony versions, shortcuts must match the case of the original + previous Symfony versions, shortcuts had to match the case of the original command name (e.g. ``d:g`` was not the same shortcut as ``D:G``).