veraPDF CLI Getting Help

Once veraPDF has been installed you can get help on the full range of options by typing verapdf -h or verapdf --help at the Mac or Linux command line. This should be verapdf.bat -h or verapdf.bat --help on Windows (we won’t keep reminding you of the alternative Windows syntax). This should give the following output, or something very similar:

Usage: veraPDF [options] FILES
    -x, --extract
       Extracts and reports PDF features.
       Default: false
       Performs metadata fixes.
       Default: false
    -f, --flavour
       Chooses built-in Validation Profile flavour, e.g. '1b'. Alternatively,
       supply '0' or no argument for automatic flavour detection based on a files
       Default: 0
       Possible Values: [0, 1a, 1b, 2a, 2b, 2u, 3a, 3b, 3u]
       Chooses output format.
       Default: mrr
       Possible Values: [xml, mrr, text]
    -h, --help
       Shows this message and exits.
       Default: false
    -l, --list
       Lists built-in Validation Profiles.
       Default: false
       Sets maximum amount of failed checks.
       Default: -1
       Sets maximum amount of failed checks displayed for each rule.
       Default: 100
    -o, --off
       Turns off PDF/A validation
       Default: false
       Select a policy schematron or XSL file.
       Sets file name prefix for any fixed files.
       Default: veraFixMd_
    -p, --profile
       Loads a Validation Profile from given path and exits if loading fails.
       This overrides any choice or default implied by the -f / --flavour option.
    -r, --recurse
       Recurses through directories. Only files with .pdf extensions are
       Default: false
       Sets output directory for any fixed files.
       Default: <empty string>
    --success, --passed
       Logs successful validation checks.
       Default: false
    -v, --verbose
       Adds failed test information to text output.
       Default: false
       Displays veraPDF version information.
       Default: false