diff options
Diffstat (limited to 'man/bcfg2-repo-validate.8')
-rw-r--r-- | man/bcfg2-repo-validate.8 | 33 |
1 files changed, 23 insertions, 10 deletions
diff --git a/man/bcfg2-repo-validate.8 b/man/bcfg2-repo-validate.8 index 81ba61099..1bf74a206 100644 --- a/man/bcfg2-repo-validate.8 +++ b/man/bcfg2-repo-validate.8 @@ -3,7 +3,7 @@ bcfg2-repo-validate \- Check Bcfg2 repository data against data schemas .SH SYNOPSIS .B bcfg2-repo-validate -.I [-v] +.I [OPTIONS] .SH DESCRIPTION .PP .B bcfg2-repo-validate @@ -12,24 +12,37 @@ finding typos or malformed data. .SH OPTIONS .TP -.BR "-Q <repository path>" -Server repository path +.BR "-v" +Be verbose about checks that have succeeded. This also enables +checking for missing bundles. .TP -.BR "-C <conffile>" +.BR "-C" Specify path to bcfg2.conf (default /etc/bcfg2.conf) .TP -.BR "--stdin" -Operate on a list of files supplied on stdin +.BR "-Q" +Specify path to Bcfg2 repository (default /var/lib/bcfg2) .TP -.BR "-v" -Enable verbose output +.BR "--schema" +Specify path to Bcfg2 XML Schemas (default /usr/share/bcfg2/schema) .TP -.BR "--schema=<schema path>" -Path to XML Schema files +.BR "--stdin" +Rather than validating all XML files in the Bcfg2 specification, only +validate a list of files supplied on stdin. This makes a few +assumptions: + +Files included using XInclude will only be validated if they are +included on stdin; XIncludes will not be followed. + +Property files will only be validated if both the property file itself +and its matching schema are included on stdin. + +.TP +.BR "--require-schema" +Require property files to have matching schema files .RE .SH "SEE ALSO" |