diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-16 09:54:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-16 09:54:23 +0100 |
| commit | 2ad4929f4b3fec0413633c00364f4a6fda3e6c0c (patch) | |
| tree | 195430f4041620ad871703c32ad07e55fde82a0a /tools/dcpdiff.cc | |
| parent | 034abb6bb0f1d0382620bdcc43501ce0ba30b03a (diff) | |
Merge and add option to ignore differing MXF names.
Diffstat (limited to 'tools/dcpdiff.cc')
| -rw-r--r-- | tools/dcpdiff.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/dcpdiff.cc b/tools/dcpdiff.cc index 7913c533..6db45a1b 100644 --- a/tools/dcpdiff.cc +++ b/tools/dcpdiff.cc @@ -17,6 +17,7 @@ help (string n) << " -V, --version show libdcp version\n" << " -h, --help show this help\n" << " -v, --verbose be verbose\n" + << " -n, --names allow differing MXF names\n" << "\n" << "The <DCP>s are the DCP directories to compare.\n" << "Comparison is of metadata and content, ignoring timestamps\n" @@ -42,10 +43,11 @@ main (int argc, char* argv[]) { "version", no_argument, 0, 'V'}, { "help", no_argument, 0, 'h'}, { "verbose", no_argument, 0, 'v'}, + { "names", no_argument, 0, 'n'}, { 0, 0, 0, 0 } }; - int c = getopt_long (argc, argv, "Vhv", long_options, &option_index); + int c = getopt_long (argc, argv, "Vhvn", long_options, &option_index); if (c == -1) { break; @@ -61,6 +63,9 @@ main (int argc, char* argv[]) case 'v': verbose = true; break; + case 'n': + options.mxf_names_can_differ = true; + break; } } |
