]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
rndc-confgen `-q` (quiet) option is documented but doesn't work
authorMark Andrews <marka@isc.org>
Thu, 13 Aug 2026 02:14:06 +0000 (12:14 +1000)
committerMark Andrews <marka@isc.org>
Thu, 13 Aug 2026 02:14:06 +0000 (12:14 +1000)
The command line parsing in rndc-confgen was broken so 'rndc-confgen
-q' did not work.  This has been fixed.

bin/confgen/rndc-confgen.c

index a63614d18c985da20736b7c0a016bb83918f17f6..9f5e773c34f4c9936cbb94a7a466a06e7dcfce0c 100644 (file)
@@ -116,7 +116,7 @@ main(int argc, char **argv) {
        isc_commandline_errprint = false;
 
        while ((ch = isc_commandline_parse(argc, argv,
-                                          "aA:b:c:hk:Mmp:r:s:t:u:Vy")) != -1)
+                                          "aA:b:c:hk:Mmp:qr:s:t:u:Vy")) != -1)
        {
                switch (ch) {
                case 'a':