+using boost::dynamic_pointer_cast;
+using boost::optional;
+
+static void
+syntax (string n)
+{
+ cerr << "Syntax: " << n << " [OPTION] <CONTENT> [<CONTENT> ...]\n"
+ << " -v, --version show DCP-o-matic version\n"
+ << " -h, --help show this help\n"
+ << " -n, --name <name> film name\n"
+ << " -t, --template <name> template name\n"
+ << " -c, --dcp-content-type <type> FTR, SHR, TLR, TST, XSN, RTG, TSR, POL, PSA or ADV\n"
+ << " -f, --dcp-frame-rate <rate> set DCP video frame rate (otherwise guessed from content)\n"
+ << " --container-ratio <ratio> 119, 133, 137, 138, 166, 178, 185 or 239\n"
+ << " --content-ratio <ratio> 119, 133, 137, 138, 166, 178, 185 or 239\n"
+ << " -s, --still-length <n> number of seconds that still content should last\n"
+ << " --standard <standard> SMPTE or interop (default SMPTE)\n"
+ << " --no-use-isdcf-name do not use an ISDCF name; use the specified name unmodified\n"
+ << " --no-sign do not sign the DCP\n"
+ << " -o, --output <dir> output directory\n";
+}