aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2012-12-07 12:48:39 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2012-12-07 12:49:09 +0100
commit98395ba2a44dfe8d4cf98b013c7b71326981fc2b (patch)
tree82cc3663835ffd66cf67b83733d4ab5c53131b7c
parent27cc9cde60fc21111627dcf50f0f640b86d35952 (diff)
downloadDns-98395ba2a44dfe8d4cf98b013c7b71326981fc2b.zip
Dns-98395ba2a44dfe8d4cf98b013c7b71326981fc2b.tar.gz
Dns-98395ba2a44dfe8d4cf98b013c7b71326981fc2b.tar.bz2
Update binary.
-rw-r--r--Bin/Server.php17
1 files changed, 8 insertions, 9 deletions
diff --git a/Bin/Server.php b/Bin/Server.php
index f7a536f..f38dd06 100644
--- a/Bin/Server.php
+++ b/Bin/Server.php
@@ -168,15 +168,14 @@ class Server extends \Hoa\Console\Dispatcher\Kit {
*/
public function usage ( ) {
- cout('Usage : dns:server <options> [<regex> to <ip>]+');
- cout('Options :');
- cout($this->makeUsageOptionsList(array(
- 'l' => 'Socket URI to listen (default: 127.0.0.1:57005).',
- 'help' => 'This help.'
- )));
- cout();
- cout('Example: `… dns:server \'foo.*\' to 1.2.3.4 \\' . "\n" .
- ' \'bar.*\' to 5.6.7.8`.');
+ echo 'Usage : dns:server <options> [<regex> to <ip>]+', "\n",
+ 'Options :', "\n",
+ $this->makeUsageOptionsList(array(
+ 'l' => 'Socket URI to listen (default: 127.0.0.1:57005).',
+ 'help' => 'This help.'
+ )), "\n",
+ 'Example: `… dns:server \'foo.*\' to 1.2.3.4 \\', "\n",
+ ' \'bar.*\' to 5.6.7.8`.', "\n";
return;
}