Needs review
Project:
Drupal core
Version:
main
Component:
CLI system
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
27 Jun 2026 at 16:28 UTC
Updated:
28 Jun 2026 at 11:42 UTC
Jump to comment: Most recent
Invokable commands don't show their usage examples in their help. This is a bug in the console compiler pass.
Run dr quick-start -h and note that usages are not shown.
Populate the service tag. This enables Symfony's \Symfony\Component\Console\DependencyInjection\AddConsoleCommandPass to find the usages and populate the console.command_loader service arguments with them.
None
None
None
None
None
N/A
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
moshe weitzman commentedComment #4
ressaThanks, this patch fixes the missing Usage examples, and I can for example see how to install multiple modules, using comma-separated syntax with patch from #3594334: Add a module and theme install command, where the two examples at the bottom (
ex:install views,views_uiandex:install claro) are omitted without this patch. So functionally this is RTBC, maybe someone else can review the code?