File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -442,15 +442,16 @@ The Console component adds some predefined options to all commands:
442442* ``--verbose ``: sets the verbosity level (e.g. ``1 `` the default, ``2 `` and
443443 ``3 ``, or you can use respective shortcuts ``-v ``, ``-vv `` and ``-vvv ``)
444444* ``--silent ``: disables all output and interaction, including errors
445- * ``--quiet ``: disables output and interaction, but errors are still displayed
446- * ``--no-interaction ``: disables interaction
447- * ``--version ``: outputs the version number of the console application
448- * ``--help ``: displays the command help
445+ * ``--quiet|-q ``: disables output and interaction, but errors are still displayed
446+ * ``--no-interaction|-n ``: disables interaction
447+ * ``--version|-V ``: outputs the version number of the console application
448+ * ``--help|-h ``: displays the command help
449449* ``--ansi|--no-ansi ``: whether to force of disable coloring the output
450+ * ``--profile ``: enables the Symfony profiler
450451
451452When using the ``FrameworkBundle ``, two more options are predefined:
452453
453- * ``--env ``: sets the Kernel configuration environment (defaults to ``APP_ENV ``)
454+ * ``--env|-e ``: sets the Kernel configuration environment (defaults to ``APP_ENV ``)
454455* ``--no-debug ``: disables Kernel debug (defaults to ``APP_DEBUG ``)
455456
456457So your custom commands can use them too out-of-the-box.
You can’t perform that action at this time.
0 commit comments