Skip to content

Commit 3d06e49

Browse files
committed
Shorten subcommand validation migration entry
Full detail is already on the linked Subcommand Validation section in the console-commands docs, so the migration guide just needs to flag the behavior change and point at it.
1 parent d7380bf commit 3d06e49

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

docs/en/appendices/5-4-migration-guide.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,8 @@ Running `bin/cake` without providing a command name no longer displays the
2626
"No command provided" error message. Instead, the `help` command is shown
2727
directly.
2828

29-
Unknown positional tokens following a parent command that has sibling
30-
subcommands are now rejected with a clear error listing the available
31-
subcommands. For example, `bin/cake i18n nonsense` previously silently
32-
invoked the parent `I18nCommand` and discarded the trailing token; it now
33-
errors out. Commands that intentionally accept arbitrary positional arguments
34-
(e.g. `routes generate`) are unaffected.
29+
Unknown tokens after a parent command with subcommands are now rejected
30+
(e.g. `bin/cake i18n nonsense`) instead of silently invoking the parent.
3531
See [Subcommand Validation](../console-commands/commands#subcommand-validation).
3632

3733
The `help` command is now hidden from command listings (via

0 commit comments

Comments
 (0)