Skip to content

Commit b3f3a8c

Browse files
committed
list shortcuts of global CLI options as well
1 parent eb840fd commit b3f3a8c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

console/input.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -416,15 +416,16 @@ The Console component adds some predefined options to all commands:
416416

417417
* ``--verbose``: sets the verbosity level (e.g. ``1`` the default, ``2`` and
418418
``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
423423
* ``--ansi|--no-ansi``: whether to force of disable coloring the output
424+
* ``--profife``: enables the Symfony profiler
424425

425426
When using the ``FrameworkBundle``, two more options are predefined:
426427

427-
* ``--env``: sets the Kernel configuration environment (defaults to ``APP_ENV``)
428+
* ``--env|-e``: sets the Kernel configuration environment (defaults to ``APP_ENV``)
428429
* ``--no-debug``: disables Kernel debug (defaults to ``APP_DEBUG``)
429430

430431
So your custom commands can use them too out-of-the-box.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy