@@ -447,19 +447,20 @@ The Console component adds some predefined options to all commands:
447447* ``--verbose ``: sets the verbosity level (e.g. ``1 `` the default, ``2 `` and
448448 ``3 ``, or you can use respective shortcuts ``-v ``, ``-vv `` and ``-vvv ``)
449449* ``--silent ``: disables all output and interaction, including errors
450- * ``--quiet ``: disables output and interaction, but errors are still displayed
451- * ``--no-interaction ``: disables interaction
452- * ``--version ``: outputs the version number of the console application
453- * ``--help ``: displays the command help
450+ * ``--quiet|-q ``: disables output and interaction, but errors are still displayed
451+ * ``--no-interaction|-n ``: disables interaction
452+ * ``--version|-V ``: outputs the version number of the console application
453+ * ``--help|-h ``: displays the command help
454454* ``--ansi|--no-ansi ``: whether to force of disable coloring the output
455+ * ``--profile ``: enables the Symfony profiler
455456
456457.. versionadded :: 7.2
457458
458459 The ``--silent `` option was introduced in Symfony 7.2.
459460
460461When using the ``FrameworkBundle ``, two more options are predefined:
461462
462- * ``--env ``: sets the Kernel configuration environment (defaults to ``APP_ENV ``)
463+ * ``--env|-e ``: sets the Kernel configuration environment (defaults to ``APP_ENV ``)
463464* ``--no-debug ``: disables Kernel debug (defaults to ``APP_DEBUG ``)
464465
465466So your custom commands can use them too out-of-the-box.
0 commit comments