The syntax for dcpomatic2_kdm_cli is:
dcpomatic2_kdm_cli [OPTION] <FILM|CPL-ID>
-h, --help — show this help-o, --output <path> — output file or directory-K, --filename-format <format> — filename format for KDMs-Z, --container-name-format <format> — filename format for ZIP containers-f, --valid-from <time> — valid from time (in local time zone of the cinema) (e.g. “2013-09-28 01:41:51”) or “now”-t, --valid-to <time> — valid to time (in local time zone of the cinema) (e.g. “2014-09-28T01:41:51”)-d, --valid-duration <duration> — valid duration (e.g. “1 day”, “4 hours”, “2 weeks”)-F, --formulation <formulation> — modified-transitional-1, multiple-modified-transitional-1, dci-any or dci-specific [default modified-transitional-1]-p, --disable-forensic-marking-picture — disable forensic marking of pictures essences-a, --disable-forensic-marking-audio — disable forensic marking of audio essences (optionally above a given channel, e.g 12)-e, --email — email KDMs to cinemas-z, --zip — ZIP each cinema's KDMs into its own file-v, --verbose — be verbose-c, --cinema <name|email> — cinema name (when using -C) or name/email (to filter cinemas)-S, --screen <name> — screen name (when using -C) or screen name (to filter screens when using -c)-C, --projector-certificate <file> — file containing projector certificate-T, --trusted-device-certificate <file> — file containing a trusted device's certificate--decryption-key <file> — file containing the private key which can decrypt the given DKDM--cinemas-file <file> — use the given file as a list of cinemas instead of the current configuration