Report information
The Basics
Id:
43153
Status:
resolved
Priority:
Medium/Medium
Queue:

People
Owner:
Nobody in particular
Cc:
AdminCc:

BugTracker
Version Fixed:
9.9.10, 9.9.10-S1, 9.10.5, 9.11.1, 9.12.0
Version Found:
(no value)
Versions Affected:
(no value)
Versions Planned:
(no value)
Priority:
P2 Normal
Severity:
S2 Normal
CVSS Score:
(no value)
CVE ID:
(no value)
Component:
BIND Documentation
Area:
feature

Dates
Created:Thu, 01 Sep 2016 10:39:48 -0400
Updated:Wed, 26 Jul 2017 02:15:08 -0400
Closed:Tue, 04 Oct 2016 23:29:49 -0400



This bug tracker is no longer active.

Please go to our Gitlab to submit issues (both feature requests and bug reports) for active projects maintained by Internet Systems Consortium (ISC).

Due to security and confidentiality requirements, full access is limited to the primary maintainers.

CC: dot@dotat.at
Subject: [PATCH] Alphabetize options and sync synopsis in named-checkconf man page
Date: Thu, 1 Sep 2016 15:39:39 +0100
To: bind9-bugs@isc.org
From: "Tony Finch" <dot@dotat.at>
--- 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 @@ <refsynopsisdiv> <cmdsynopsis sepchar=" "> <command>named-checkconf</command> - <arg choice="opt" rep="norepeat"><option>-h</option></arg> - <arg choice="opt" rep="norepeat"><option>-v</option></arg> - <arg choice="opt" rep="norepeat"><option>-j</option></arg> + <arg choice="opt" rep="norepeat"><option>-hjvz</option></arg> + <arg choice="opt" rep="norepeat"><option>-p</option> + <arg choice="opt" rep="norepeat"><option>-x</option> + </arg></arg> <arg choice="opt" rep="norepeat"><option>-t <replaceable class="parameter">directory</replaceable></option></arg> <arg choice="req" rep="norepeat">filename</arg> - <arg choice="opt" rep="norepeat"><option>-p</option></arg> - <arg choice="opt" rep="norepeat"><option>-x</option></arg> - <arg choice="opt" rep="norepeat"><option>-z</option></arg> </cmdsynopsis> </refsynopsisdiv> @@ -82,7 +80,6 @@ <refsection><info><title>OPTIONS</title></info> - <variablelist> <varlistentry> <term>-h</term> @@ -94,32 +91,42 @@ </varlistentry> <varlistentry> - <term>-t <replaceable class="parameter">directory</replaceable></term> + <term>-j</term> <listitem> <para> - Chroot to <filename>directory</filename> so that include - directives in the configuration file are processed as if - run by a similarly chrooted <command>named</command>. + When loading a zonefile read the journal if it exists. </para> </listitem> </varlistentry> <varlistentry> - <term>-v</term> + <term>-p</term> <listitem> <para> - Print the version of the <command>named-checkconf</command> - program and exit. + Print out the <filename>named.conf</filename> and included files + in canonical form if no errors were detected. + See also the <option>-x</option> option. </para> </listitem> </varlistentry> <varlistentry> - <term>-p</term> + <term>-t <replaceable class="parameter">directory</replaceable></term> <listitem> <para> - Print out the <filename>named.conf</filename> and included files - in canonical form if no errors were detected. + Chroot to <filename>directory</filename> so that include + directives in the configuration file are processed as if + run by a similarly chrooted <command>named</command>. + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term>-v</term> + <listitem> + <para> + Print the version of the <command>named-checkconf</command> + program and exit. </para> </listitem> </varlistentry> @@ -150,15 +157,6 @@ </varlistentry> <varlistentry> - <term>-j</term> - <listitem> - <para> - When loading a zonefile read the journal if it exists. - </para> - </listitem> - </varlistentry> - - <varlistentry> <term>filename</term> <listitem> <para> -- 2.1.4
added to the 9.12.0 list