mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 06:37:55 +08:00 
			
		
		
		
	better formatting for console commands help
This commit is contained in:
		@ -172,9 +172,7 @@ class HelpController extends Controller
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if ($comment !== '') {
 | 
			
		||||
			echo "\nDESCRIPTION";
 | 
			
		||||
			echo "\n-----------\n\n";
 | 
			
		||||
			echo $comment . "\n";
 | 
			
		||||
			echo "\n" . $comment . "\n";
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		$options = $this->getGlobalOptions($class, $controller);
 | 
			
		||||
@ -235,9 +233,7 @@ class HelpController extends Controller
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if ($comment !== '') {
 | 
			
		||||
			echo "\nDESCRIPTION";
 | 
			
		||||
			echo "\n-----------\n\n";
 | 
			
		||||
			echo $comment . "\n";
 | 
			
		||||
			echo "\n" . $comment . "\n";
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		$options = $this->getOptions($method, $meta);
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user