--- bin/check/named-checkconf.c | 2 +- bin/check/named-checkconf.docbook | 50 +++++++++++++++++++-------------------- 2 files changed, 25 insertions(+), 27 deletions(-) diff --git a/bin/check/named-checkconf.c b/bin/check/named-checkconf.c index 9e14e98..43694a7 100644 --- a/bin/check/named-checkconf.c +++ b/bin/check/named-checkconf.c @@ -59,7 +59,7 @@ usage(void) ISC_PLATFORM_NORETURN_POST; static void usage(void) { - fprintf(stderr, "usage: %s [-h] [-j] [-p [-x]] [-v] [-z] [-t directory] " + fprintf(stderr, "usage: %s [-hjvz] [-p [-x]] [-t directory] " "[named.conf]\n", program); exit(1); } diff --git a/bin/check/named-checkconf.docbook b/bin/check/named-checkconf.docbook index 040071e..acb60a0 100644 --- a/bin/check/named-checkconf.docbook +++ b/bin/check/named-checkconf.docbook @@ -48,14 +48,12 @@ named-checkconf - - - + + + + filename - - - @@ -82,7 +80,6 @@ OPTIONS - -h @@ -94,32 +91,42 @@ - -t directory + -j - Chroot to directory so that include - directives in the configuration file are processed as if - run by a similarly chrooted named. + When loading a zonefile read the journal if it exists. - -v + -p - Print the version of the named-checkconf - program and exit. + Print out the named.conf and included files + in canonical form if no errors were detected. + See also the option. - -p + -t directory - Print out the named.conf and included files - in canonical form if no errors were detected. + Chroot to directory so that include + directives in the configuration file are processed as if + run by a similarly chrooted named. + + + + + + -v + + + Print the version of the named-checkconf + program and exit. @@ -150,15 +157,6 @@ - -j - - - When loading a zonefile read the journal if it exists. - - - - - filename -- 2.1.4