5.0.0 - 普通 - 未处理
版本 TP6中文的“公”字显示有问题
protected function configure()
{
$this->setName('t')
->addOption('weight', 'w', Option::VALUE_REQUIRED, '重量(公斤)');
}使用帮助命令php think t --help打印出Usage:
qt [options]
Options:
-w, --weight=WEIGHT 重量(
斤)
-h, --help Display this help message
-V, --version Display this console version
-q, --quiet Do not output any message
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug“公”字被换行与缩进替换了 