named-checkzone.c revision e1fdebdcc80320b7f9afdde6e4f8b69fce11a167
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt * Copyright (C) 1999-2001 Internet Software Consortium.
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt * Permission to use, copy, modify, and distribute this software for any
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt * purpose with or without fee is hereby granted, provided that the above
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt * copyright notice and this permission notice appear in all copies.
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt * INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt/* $Id: named-checkzone.c,v 1.16 2001/10/02 01:09:04 gson Exp $ */
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Huntstatic int quiet = 0;
e2258edfef656bfaf21cbec4d8a86b71976c5983Francis Dupont "usage: named-checkzone [-dqv] [-c class] zonename filename\n");
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt while ((c = isc_commandline_parse(argc, argv, "c:dqist:vw:")) != EOF) {
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt switch (c) {
debug++;
quiet++;
exit(0);
usage();
usage();
if (!quiet) {
destroy();