]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Fixed argument optionality in help output.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 10 Nov 2009 13:28:09 +0000 (13:28 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 10 Nov 2009 13:28:09 +0000 (13:28 +0000)
git-svn-id: file:///svn/unbound/trunk@1896 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
smallapp/unbound-control.c

index 09666d94d28c58db43835bc499841e6f2c3365c9..8c4f49441ea38699bceb8250f96a689b80f59057 100644 (file)
@@ -1,6 +1,7 @@
 10 November 2009: Wouter
        - Thanks to Surfnet found bug in new dnssec-retry code that failed
          to combine well when combined with DLV and a particular failure. 
+       - Fixed unbound-control -h output about argument optionality.
 
 5 November 2009: Wouter
        - lint fixes and portability tests.
index 75eeb5788dbfdb2874aeafa803725c512c8e3122..a1a743da7df63a1becca8f9273c7fb96df169685 100644 (file)
@@ -65,20 +65,20 @@ usage()
        printf("  stats                         print statistics\n");
        printf("  stats_noreset                 peek at statistics\n");
        printf("  status                        display status of server\n");
-       printf("  verbosity [number]            change logging detail\n");
-       printf("  local_zone [name] [type]      add new local zone\n");
-       printf("  local_zone_remove [name]      remove local zone and its contents\n");
-       printf("  local_data [RR data...]       add local data, for example\n");
+       printf("  verbosity number              change logging detail\n");
+       printf("  local_zone name type          add new local zone\n");
+       printf("  local_zone_remove name        remove local zone and its contents\n");
+       printf("  local_data RR data...         add local data, for example\n");
        printf("                                local_data www.example.com A 192.0.2.1\n");
-       printf("  local_data_remove [name]      remove local RR data from name\n");
+       printf("  local_data_remove name        remove local RR data from name\n");
        printf("  dump_cache                    print cache to stdout\n");
        printf("  load_cache                    load cache from stdin\n");
-       printf("  lookup [name]                 print nameservers for name\n");
-       printf("  flush [name]                  flushes common types for name from cache\n");
+       printf("  lookup name                   print nameservers for name\n");
+       printf("  flush name                    flushes common types for name from cache\n");
        printf("                                types:  A, AAAA, MX, PTR, NS,\n");
        printf("                                        SOA, CNAME, DNAME, SRV, NAPTR\n");
-       printf("  flush_type [name] [type]      flush name, type from cache\n");
-       printf("  flush_zone [name]             flush everything at or under name\n");
+       printf("  flush_type name type          flush name, type from cache\n");
+       printf("  flush_zone name               flush everything at or under name\n");
        printf("                                from rr and dnssec caches\n");
        printf("  flush_stats                   flush statistics, make zero\n");
        printf("  flush_requestlist             drop queries that are worked on\n");