File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ class ClearCache extends BaseCommand
4646 *
4747 * @var string
4848 */
49- protected $ usage = 'cache:clear [driver] ' ;
49+ protected $ usage = 'cache:clear [< driver> ] ' ;
5050
5151 /**
5252 * the Command's Arguments
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ class Help extends BaseCommand
4848 *
4949 * @var string
5050 */
51- protected $ usage = 'help command_name ' ;
51+ protected $ usage = 'help [< command_name>] ' ;
5252
5353 /**
5454 * the Command's Arguments
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ public function testHelpCommand()
7979
8080 // make sure the result looks like basic help
8181 $ this ->assertStringContainsString ('Displays basic usage information. ' , $ result );
82- $ this ->assertStringContainsString ('help command_name ' , $ result );
82+ $ this ->assertStringContainsString ('help [< command_name>] ' , $ result );
8383 }
8484
8585 public function testHelpCommandDetails ()
You can’t perform that action at this time.
0 commit comments