Skip to content

Commit a51f56b

Browse files
committed
Mentioned the case-insensitivity of command shortcuts
1 parent f8ddf1f commit a51f56b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

components/console/usage.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,16 @@ can run it with:
148148
149149
$ php application.php d:g Fabien
150150
151+
# as long as it's unambiguous, you can slo mix upper and lower case
152+
# php application.php Demo:g Fabien
153+
# php application.php de:Gr Fabien
154+
# php application.php DE:Gre Fabien
155+
151156
If you enter a short command that's ambiguous (i.e. there are more than one
152157
command that match), then no command will be run and some suggestions of
153158
the possible commands to choose from will be output.
159+
160+
.. versionadded:: 3.4
161+
Case-insensitivity of command shortcuts was introduced in Symfony 3.4. In
162+
previous Symfony versions, shortcuts must match the case of the original
163+
command name (e.g. ``d:g`` was not the same shortcut as ``D:G``).

0 commit comments

Comments
 (0)