Skip to content

Commit ca38833

Browse files
author
euromark
committed
Correct commands and make them more visible.
1 parent 39aaadf commit ca38833

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

src/Shell/BakeShell.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function main() {
8585
$this->out('- ' . Inflector::underscore($name));
8686
}
8787
$this->out('');
88-
$this->out('By using <info>Console/cake bake [name]</info> you can invoke a specific bake task.');
88+
$this->out('By using <info>`cake bake [name]`</info> you can invoke a specific bake task.');
8989
}
9090

9191
/**
@@ -205,7 +205,7 @@ public function all($name = null) {
205205
foreach ($this->Model->listAll() as $table) {
206206
$this->out('- ' . $table);
207207
}
208-
$this->out('Run <info>cake bake all [name]</info> to generate skeleton files.');
208+
$this->out('Run <info>`cake bake all [name]`</info> to generate skeleton files.');
209209
return false;
210210
}
211211

src/Shell/CommandListShell.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function startup() {
5151
public function main() {
5252
if (empty($this->params['xml'])) {
5353
$this->out("<info>Current Paths:</info>", 2);
54-
$this->out("* app: " . APP_DIR);
54+
$this->out("* app: " . APP_DIR);
5555
$this->out("* root: " . rtrim(ROOT, DS));
5656
$this->out("* core: " . rtrim(CORE_PATH, DS));
5757
$this->out("");
@@ -84,9 +84,9 @@ protected function _asText($shellList) {
8484
$this->out();
8585
}
8686

87-
$this->out("To run an app or core command, type <info>cake shell_name [args]</info>");
88-
$this->out("To run a plugin command, type <info>cake Plugin.shell_name [args]</info>");
89-
$this->out("To get help on a specific command, type <info>cake shell_name --help</info>", 2);
87+
$this->out("To run an app or core command, type <info>`cake shell_name [args]`</info>");
88+
$this->out("To run a plugin command, type <info>`cake Plugin.shell_name [args]`</info>");
89+
$this->out("To get help on a specific command, type <info>`cake shell_name --help`</info>", 2);
9090
}
9191

9292
/**

src/Shell/ServerShell.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function main() {
132132

133133
$port = ':' . $this->_port;
134134
$this->out(sprintf('built-in server is running in http://%s%s/', $this->_host, $port));
135-
$this->out(sprintf('You can exit with <info>CTRL-C</info>'));
135+
$this->out(sprintf('You can exit with <info>`CTRL-C`</info>'));
136136
system($command);
137137
}
138138

src/Shell/Task/PluginTask.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function initialize() {
5959
public function main($name = null) {
6060
if (empty($name)) {
6161
$this->err('<error>You must provide a plugin name in CamelCase format.</error>');
62-
$this->err('To make an "Example" plugin, run <info>Console/cake bake plugin Example</info>.');
62+
$this->err('To make an "Example" plugin, run <info>`cake bake plugin Example`</info>.');
6363
return false;
6464
}
6565
$plugin = $this->_camelize($name);

src/Shell/TestShell.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ public function available() {
5858
* @return void
5959
*/
6060
public function outputWarning() {
61-
$this->err('<error>Test Shell has been removed.</error>');
61+
$this->err('<error>TestShell has been removed.</error>');
6262
$this->err('');
63-
$this->err('TestShell has been removed and replaced with <info>phpunit</info>.');
63+
$this->err('TestShell has been replaced with <info>`phpunit`</info>.');
6464
$this->err('');
65-
$this->err('To run your application tests run <info>phpunit</info>');
66-
$this->err('To run plugin tests, cd into the plugin directory and run <info>phpunit</info>');
65+
$this->err('To run your application tests run <info>`phpunit`</info>');
66+
$this->err('To run plugin tests, cd into the plugin directory and run <info>`phpunit`</info>');
6767
}
6868

6969
}

0 commit comments

Comments
 (0)