From b95bebad3495688cd8db081926ccd3828a2bda46 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 15 Aug 2016 11:21:52 +1000 Subject: [PATCH] 4441. [cleanup] Alphabetize host's help output. [RT #43031] (cherry picked from commit 8a98ea9e942273b9f90fbacaf5333f08568a7f41) --- CHANGES | 2 ++ bin/dig/host.c | 10 +++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CHANGES b/CHANGES index b63290a081..ccbcf956fc 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +4441. [cleanup] Alphabetize host's help output. [RT #43031] + 4435. [tuning] Only set IPV6_USE_MIN_MTU for UDP when the message will not fit into a single IPv4 encapsulated IPv6 UDP packet when transmitted over a Ethernet link. diff --git a/bin/dig/host.c b/bin/dig/host.c index 54f76192be..690ff54ef2 100644 --- a/bin/dig/host.c +++ b/bin/dig/host.c @@ -145,14 +145,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" @@ -160,12 +161,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); }