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 @@ -416,15 +416,16 @@ The Console component adds some predefined options to all commands:
416
416
417
417
* ``--verbose ``: sets the verbosity level (e.g. ``1 `` the default, ``2 `` and
418
418
``3 ``, or you can use respective shortcuts ``-v ``, ``-vv `` and ``-vvv ``)
419
- * ``--quiet ``: disables output and interaction
420
- * ``--no-interaction ``: disables interaction
421
- * ``--version ``: outputs the version number of the console application
422
- * ``--help ``: displays the command help
419
+ * ``--quiet|-q ``: disables output and interaction
420
+ * ``--no-interaction|-n ``: disables interaction
421
+ * ``--version|-V ``: outputs the version number of the console application
422
+ * ``--help|-h ``: displays the command help
423
423
* ``--ansi|--no-ansi ``: whether to force of disable coloring the output
424
+ * ``--profife ``: enables the Symfony profiler
424
425
425
426
When using the ``FrameworkBundle ``, two more options are predefined:
426
427
427
- * ``--env ``: sets the Kernel configuration environment (defaults to ``APP_ENV ``)
428
+ * ``--env|-e ``: sets the Kernel configuration environment (defaults to ``APP_ENV ``)
428
429
* ``--no-debug ``: disables Kernel debug (defaults to ``APP_DEBUG ``)
429
430
430
431
So your custom commands can use them too out-of-the-box.
You can’t perform that action at this time.
0 commit comments