X-Git-Url: http://gitweb.michael.orlitzky.com/?p=valtz.git;a=blobdiff_plain;f=valtz.1;h=7cbb23da1686a22858be8dac7dcab0fcaefb323a;hp=5fd6ec716755fc8079a5d705a4b16e98a44763f8;hb=b34754a96be1e379c633f7a2ede92d6b2e131d18;hpb=ba4943829d013a6443c5bdec626ac7e2cc02d698 diff --git a/valtz.1 b/valtz.1 index 5fd6ec7..7cbb23d 100644 --- a/valtz.1 +++ b/valtz.1 @@ -11,11 +11,11 @@ Validate one or more tinydns-data files: Filter bad lines out of one or more tinydns-data files: - \fBvaltz\fR [\fB-HiIqrRst\fR] [\fB-T \fItypes\fR\fR] -f \fItinydns-file1\fR [\fItinydns-file2 ...\fR] + \fBvaltz\fR [\fB-HiIqrRt\fR] [\fB-T \fItypes\fR\fR] -f \fItinydns-file1\fR [\fItinydns-file2 ...\fR] Filter bad lines using filter configuration files: - \fBvaltz\fR [\fB-fHiIqrRst\fR] [\fB-T \fItypes\fR\fR] -F \fIfilter-file1\fR [\fIfilter-file2 ...\fR] + \fBvaltz\fR [\fB-fHiIqrRt\fR] [\fB-T \fItypes\fR\fR] -F \fIfilter-file1\fR [\fIfilter-file2 ...\fR] Show the built-in help: @@ -44,8 +44,6 @@ Allow "ip" fields to be empty. These lines do not generate any records. Include rejected lines as comments in output. .IP \fB-q\fR (filtering only) Do not print valid lines to standard out. -.IP \fB-s\fR --s Don't skip files ending with ",v", "~", ".bak", ".log", ".old", ".swp", and ".tmp". .IP \fB-t\fR (filtering only) Don't ignore comment lines (beginning with a "#" character). .IP \fB-T \fItypes\fR\fR (advanced filtering only) @@ -59,9 +57,12 @@ printed to standard error. When filtering, the acceptable lines are printed to standard out. .SH EXIT CODE -The exit code will be 0 if nothing has gone wrong. If a validation -error occurs, the return value is incremented by 1. If a disallowed -record type is encountered, the return value is incremented by 2. +The exit code will be 0 if nothing has gone wrong. If any validation +error occured, the return value is incremented by 1. If a disallowed +record type was encountered, the return value is incremented by 2. +If you forgot to pass the required filename arguments (either the +tinydns-data files or the filter configuration files), then we exit +immediately with code 4. .SH ADVANCED FILTERING When the \fB-F\fR flag is used, valtz performs "advanced filtering"