Fixed argument optionality in help output.

git-svn-id: file:///svn/unbound/trunk@1896 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2009-11-10 13:28:09 +00:00
parent ff33e077de
commit 6e8e4e87b7
2 changed files with 10 additions and 9 deletions

View file

@ -1,6 +1,7 @@
10 November 2009: Wouter 10 November 2009: Wouter
- Thanks to Surfnet found bug in new dnssec-retry code that failed - Thanks to Surfnet found bug in new dnssec-retry code that failed
to combine well when combined with DLV and a particular failure. to combine well when combined with DLV and a particular failure.
- Fixed unbound-control -h output about argument optionality.
5 November 2009: Wouter 5 November 2009: Wouter
- lint fixes and portability tests. - lint fixes and portability tests.

View file

@ -65,20 +65,20 @@ usage()
printf(" stats print statistics\n"); printf(" stats print statistics\n");
printf(" stats_noreset peek at statistics\n"); printf(" stats_noreset peek at statistics\n");
printf(" status display status of server\n"); printf(" status display status of server\n");
printf(" verbosity [number] change logging detail\n"); printf(" verbosity number change logging detail\n");
printf(" local_zone [name] [type] add new local zone\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_zone_remove name remove local zone and its contents\n");
printf(" local_data [RR data...] add local data, for example\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 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(" dump_cache print cache to stdout\n");
printf(" load_cache load cache from stdin\n"); printf(" load_cache load cache from stdin\n");
printf(" lookup [name] print nameservers for name\n"); printf(" lookup name print nameservers for name\n");
printf(" flush [name] flushes common types for name from cache\n"); printf(" flush name flushes common types for name from cache\n");
printf(" types: A, AAAA, MX, PTR, NS,\n"); printf(" types: A, AAAA, MX, PTR, NS,\n");
printf(" SOA, CNAME, DNAME, SRV, NAPTR\n"); printf(" SOA, CNAME, DNAME, SRV, NAPTR\n");
printf(" flush_type [name] [type] flush name, type from cache\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_zone name flush everything at or under name\n");
printf(" from rr and dnssec caches\n"); printf(" from rr and dnssec caches\n");
printf(" flush_stats flush statistics, make zero\n"); printf(" flush_stats flush statistics, make zero\n");
printf(" flush_requestlist drop queries that are worked on\n"); printf(" flush_requestlist drop queries that are worked on\n");