summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-01-15 17:01:22 +0000
committerCarl Hetherington <cth@carlh.net>2019-01-15 17:01:22 +0000
commit03be3b11f26f9cab080a87a3ad23bfca22049876 (patch)
treeb9f5c3ff92d7cd23c4183077554963cff88b2974
parent3e4516bbbf596303d871c4eb49699e6bd5a0d9ab (diff)
Fix typo in dcpomatic_create options processing.
-rw-r--r--src/tools/dcpomatic_create.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/dcpomatic_create.cc b/src/tools/dcpomatic_create.cc
index 5c6fc3567..9a3f88070 100644
--- a/src/tools/dcpomatic_create.cc
+++ b/src/tools/dcpomatic_create.cc
@@ -115,7 +115,7 @@ main (int argc, char* argv[])
{ "version", no_argument, 0, 'v'},
{ "help", no_argument, 0, 'h'},
{ "name", required_argument, 0, 'n'},
- { "template", required_argument, 0, 'f'},
+ { "template", required_argument, 0, 't'},
{ "dcp-content-type", required_argument, 0, 'c'},
{ "dcp-frame-rate", required_argument, 0, 'f'},
{ "container-ratio", required_argument, 0, 'A'},
@@ -129,7 +129,7 @@ main (int argc, char* argv[])
{ 0, 0, 0, 0}
};
- int c = getopt_long (argc, argv, "vhn:f:c:f:A:B:C:s:o:DEF:", long_options, &option_index);
+ int c = getopt_long (argc, argv, "vhn:t:c:f:A:B:C:s:o:DEF:", long_options, &option_index);
if (c == -1) {
break;
}