]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
better argument help for unbound-control
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 19 Nov 2009 10:01:42 +0000 (10:01 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 19 Nov 2009 10:01:42 +0000 (10:01 +0000)
git-svn-id: file:///svn/unbound/trunk@1912 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
smallapp/unbound-control.c

index ed98dc5ad3499a0af0d35e71d4dd2d853d5ce704..122a132c1ccd49134c66d53f3101dd33b542966a 100644 (file)
@@ -1,3 +1,6 @@
+19 November 2009: Wouter
+       - better argument help for unbound-control.
+
 17 November 2009: Wouter
        - noted multiple entries for multiple domain names in example.conf.
        - iana portlist updated.
index a1a743da7df63a1becca8f9273c7fb96df169685..07760cde0b434cd3fc568d7f017c970b68432dea 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");