]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix usage printout for unbound-host, hostname has to be last
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 21 Jun 2018 12:31:42 +0000 (12:31 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 21 Jun 2018 12:31:42 +0000 (12:31 +0000)
  argument on BSDs and Windows.

git-svn-id: file:///svn/unbound/trunk@4751 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
smallapp/unbound-host.c

index d9a6e61fc76db2938720f65f852cdb7d35e3e01a..883db5e0b09de8d3cd9c4ba34bf7f92f9f001a54 100644 (file)
@@ -1,5 +1,7 @@
 21 June 2018: Wouter
        - #4108: systemd reload hang fix.
+       - Fix usage printout for unbound-host, hostname has to be last
+         argument on BSDs and Windows.
 
 19 June 2018: Wouter
        - Fix for unbound-control on Windows and set TCP socket parameters
index cd1ffe3351d2696f367a6d5eeddf4233ad61468e..31c0220333b01ba60c566d97c70486bfcdfe1a77 100644 (file)
@@ -82,9 +82,9 @@ static int verb = 0;
 static void
 usage(void)
 {
-       printf("Usage:  unbound-host [-vdhr46] [-c class] [-t type] hostname\n");
+       printf("Usage:  unbound-host [-vdhr46] [-c class] [-t type]\n");
        printf("                     [-y key] [-f keyfile] [-F namedkeyfile]\n");
-       printf("                     [-C configfile]\n");
+       printf("                     [-C configfile] hostname\n");
        printf("  Queries the DNS for information.\n");
        printf("  The hostname is looked up for IP4, IP6 and mail.\n");
        printf("  If an ip-address is given a reverse lookup is done.\n");