From cc33952a152bf96d0a78491e93e54b0f0774575c Mon Sep 17 00:00:00 2001 From: ianmdlvl Date: Sat, 12 Jan 2002 00:46:51 +0000 Subject: [PATCH] Usage message includes copyright and warranty; also specified zones operation mode. --- scripts/named-conf | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/scripts/named-conf b/scripts/named-conf index 3c92ece..a031e32 100755 --- a/scripts/named-conf +++ b/scripts/named-conf @@ -65,22 +65,29 @@ usageerr("must specify either -f|-y|-n or zones (and not both)") if !!$mode == !!@ARGV; sub usageerr ($) { - die -"$_[0] -usage: named-conf-regen [options] -f|-y|-n|...\n". -"operation modes:\n". -" -f --force install without checking\n". -" -y --yes check and install\n". -" -n --no check only\n". -"additional options:\n". -" -A --all report on zones marked ? (ones we know are broken)\n". -" -D debug $quis (does not help debug your DNS config)\n". -" -g --glueless do not warn about any glueless referrals (not recommended)\n". -" -l --localonly full checks only on zones which we primary\n". -" -q --quiet no output for OK zones\n". -" -r --repeat repeat warnings for all sources of imperfect data\n". -" -v --verbose extra verbose info about each zone\n". -" -C|--config ... +operation modes: + -f --force install without checking + -y --yes check and install + -n --no check only (configured zones) + ... check only (specified zones, even unconfigured ones) +additional options: + -A --all report on zones marked ? (ones we know are broken) + -D debug $quis (does not help debug your DNS config) + -g --glueless do not warn about any glueless referrals (not recommended) + -l --localonly full checks only on zones which we primary + -q --quiet no output for OK zones + -r --repeat repeat warnings for all sources of imperfect data + -v --verbose extra verbose info about each zone + -C|--config