2
我可以把我的命令的詳細程度與設置詳細的命令Symfony3
php bin/console mycommand:command -vvv
如何設置與--verbose相同的值? 2.3 symfony
php bin/console mycommand:command --verbose=3
我有這樣的錯誤
[Symfony\Component\Console\Exception\RuntimeException]
The "--verbose" option does not accept a value.
有了幫手,我可以看到這個選項
-v | VV | VVV,--verbose增加 消息的詳細程度:1正常輸出,2爲更詳細的輸出和3爲 debug
奇怪...它應該根據文檔︰https://symfony.com/doc/current/components/console/usage.html#global-options – Veve
@veve只有'--verbose'我得到'OutputInterface :: VERBOSITY_VERBOSE' – monkeyUser
也許它是一個錯誤? – monkeyUser