]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
4441. [cleanup] Alphabetize host's help output. [RT #43031]
authorMark Andrews <marka@isc.org>
Mon, 15 Aug 2016 01:21:52 +0000 (11:21 +1000)
committerMark Andrews <marka@isc.org>
Mon, 15 Aug 2016 01:21:52 +0000 (11:21 +1000)
CHANGES
bin/dig/host.c

diff --git a/CHANGES b/CHANGES
index f961844ff14024d641697445e049dc7c4de3356c..33a599032bb5c62baf80dfe3b9708d69fb2f811a 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+4441.  [cleanup]       Alphabetize host's help output. [RT #43031]
+
 4440.  [func]          Enable TCP fast open support when available on the
                        server side. [RT #42866]
 
index 0150100647f09e2ad75b1ab90df768de6db29173..196d546e97984fbfbbea8b26a628e4337544c5dd 100644 (file)
@@ -137,14 +137,15 @@ show_usage(void) ISC_PLATFORM_NORETURN_POST;
 static void
 show_usage(void) {
        fputs(
-"Usage: host [-aCdlriTwv] [-c class] [-N ndots] [-t type] [-W time]\n"
+"Usage: host [-aCdilrTvVw] [-c class] [-N ndots] [-t type] [-W time]\n"
 "            [-R number] [-m flag] hostname [server]\n"
 "       -a is equivalent to -v -t ANY\n"
 "       -c specifies query class for non-IN data\n"
 "       -C compares SOA records on authoritative nameservers\n"
 "       -d is equivalent to -v\n"
-"       -l lists all hosts in a domain, using AXFR\n"
 "       -i IP6.INT reverse lookups\n"
+"       -l lists all hosts in a domain, using AXFR\n"
+"       -m set memory debugging flag (trace|record|usage)\n"
 "       -N changes the number of dots allowed before root lookup is done\n"
 "       -r disables recursive processing\n"
 "       -R specifies number of retries for UDP packets\n"
@@ -152,12 +153,11 @@ show_usage(void) {
 "       -t specifies the query type\n"
 "       -T enables TCP/IP mode\n"
 "       -v enables verbose output\n"
+"       -V print version number and exit\n"
 "       -w specifies to wait forever for a reply\n"
 "       -W specifies how long to wait for a reply\n"
 "       -4 use IPv4 query transport only\n"
-"       -6 use IPv6 query transport only\n"
-"       -m set memory debugging flag (trace|record|usage)\n"
-"       -V print version number and exit\n", stderr);
+"       -6 use IPv6 query transport only\n", stderr);
        exit(1);
 }