aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2014-10-06 16:04:13 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2014-10-06 16:04:13 +0200
commit0f59444e7f9308a1bb576cca9467e7859b64452a (patch)
tree8a2eec2be86de873c1eafe0122d5f1fe5061ce17
parentc8ecf00b89a144c0fb0f1af3bfc8d10bfe5df46e (diff)
downloadDns-0f59444e7f9308a1bb576cca9467e7859b64452a.zip
Dns-0f59444e7f9308a1bb576cca9467e7859b64452a.tar.gz
Dns-0f59444e7f9308a1bb576cca9467e7859b64452a.tar.bz2
Fix documentation.2.14.11.09
-rw-r--r--Bin/Resolve.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/Bin/Resolve.php b/Bin/Resolve.php
index c0a752c..4426f11 100644
--- a/Bin/Resolve.php
+++ b/Bin/Resolve.php
@@ -44,7 +44,7 @@ use Hoa\Socket;
/**
* Class Hoa\Dns\Bin\Resolve.
*
- * Quick DNS server.
+ * Quick DNS resolver.
*
* @author Ivan Enderlin <ivan.enderlin@hoa-project.net>
* @copyright Copyright © 2007-2014 Ivan Enderlin.
@@ -156,18 +156,18 @@ class Resolve extends Console\Dispatcher\Kit {
*/
public function usage ( ) {
- echo 'Usage : dns:server <options> [<regex> to <ip>]+', "\n",
+ echo 'Usage : dns:resolve <options> [<regex> to <ip>]+', "\n",
'Options :', "\n",
$this->makeUsageOptionsList([
'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";
+ 'Example: `… dns:resolve \'foo.*\' to 1.2.3.4 \\', "\n",
+ ' \'bar.*\' to 5.6.7.8`.', "\n";
return;
}
}
__halt_compiler();
-Quick DNS server.
+Quick DNS resolver.