[svn] commit: r3353 - /branches/vorner-recursor-config/src/bin/recurse/main.cc
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Oct 26 08:18:29 UTC 2010
Author: vorner
Date: Tue Oct 26 08:18:29 2010
New Revision: 3353
Log:
Update --help of b10-recurse.
Modified:
branches/vorner-recursor-config/src/bin/recurse/main.cc
Modified: branches/vorner-recursor-config/src/bin/recurse/main.cc
==============================================================================
--- branches/vorner-recursor-config/src/bin/recurse/main.cc (original)
+++ branches/vorner-recursor-config/src/bin/recurse/main.cc Tue Oct 26 08:18:29 2010
@@ -61,7 +61,6 @@
// Default port current 5300 for testing purposes
static const string PROGRAM = "Recurse";
-static const char* DNSPORT = "5300";
static IOService* io_service;
static Recursor *recursor;
@@ -82,21 +81,13 @@
} else if (command == "shutdown") {
io_service->stop();
}
-
+
return (answer);
}
void
usage() {
- cerr << "Usage: b10-recurse -f nameserver [-a address] [-p port] [-u user]"
- "[-4|-6] [-v]" << endl;
- cerr << "\t-f: specify the nameserver to which queries should be forwarded"
- << endl;
- cerr << "\t-a: specify the address to listen on (default: all)" << endl;
- cerr << "\t-p: specify the port to listen on (default: " << DNSPORT << ")"
- << endl;
- cerr << "\t-4: listen on all IPv4 addresses (incompatible with -a)" << endl;
- cerr << "\t-6: listen on all IPv6 addresses (incompatible with -a)" << endl;
+ cerr << "Usage: b10-recurse [-u user] [-v]" << endl;
cerr << "\t-u: change process UID to the specified user" << endl;
cerr << "\t-v: verbose output" << endl;
exit(1);
More information about the bind10-changes
mailing list