]> granicus.if.org Git - pdns/commitdiff
Document verbose mode in dnsdist's --help
authorMichał Kępień <github@kempniu.pl>
Tue, 22 Dec 2015 10:23:07 +0000 (11:23 +0100)
committerMichał Kępień <github@kempniu.pl>
Tue, 22 Dec 2015 10:23:11 +0000 (11:23 +0100)
pdns/dnsdist.cc

index 813e2a7902eaa231704439b38c11889bfca8269d..ad6f0d5fb9e1db29369ebb31a0ce22975e68dea1 100644 (file)
@@ -895,6 +895,7 @@ try
     {"pidfile",  required_argument, 0, 'p'},
     {"supervised", 0, 0, 's'},
     {"uid",  required_argument, 0, 'u'},
+    {"verbose", 0, 0, 'v'},
     {"version", 0, 0, 'V'},
     {"help", 0, 0, 'h'},
     {0,0,0,0} 
@@ -926,6 +927,7 @@ try
       cout<<endl;
       cout<<"Syntax: dnsdist [-C,--config file] [-c,--client] [-d,--daemon]\n";
       cout<<"[-p,--pidfile file] [-e,--execute cmd] [-h,--help] [-l,--local addr]\n";
+      cout<<"[-v,--verbose]\n";
       cout<<"\n";
       cout<<"-a,--acl netmask      Add this netmask to the ACL\n";
       cout<<"-C,--config file      Load configuration from 'file'\n";
@@ -939,6 +941,7 @@ try
       cout<<"                        (use with e.g. systemd and daemontools)\n";
       cout<<"-p,--pidfile file     Write a pidfile, works only with --daemon\n";
       cout<<"-u,--uid uid          Change the process user ID after binding sockets\n";
+      cout<<"-v,--verbose          Enable verbose mode\n";
       cout<<"\n";
       exit(EXIT_SUCCESS);
       break;