diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-10-02 21:55:37 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-10-02 21:55:37 +0100 |
| commit | 19133069634100e119a1196c2f203af464145517 (patch) | |
| tree | e238c8986fd2e2d9ee8095b98eca0b70e5563231 /tools/dcpdiff.cc | |
| parent | 8fca5499789ae1deb2dbcad8d3501a8f42fb95f0 (diff) | |
Remove bitwise DCP comparison, which I think is fairly useless (just use diff, no?)
Diffstat (limited to 'tools/dcpdiff.cc')
| -rw-r--r-- | tools/dcpdiff.cc | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/tools/dcpdiff.cc b/tools/dcpdiff.cc index c9139e7b..9acbfa1a 100644 --- a/tools/dcpdiff.cc +++ b/tools/dcpdiff.cc @@ -12,40 +12,34 @@ static void help (string n) { cerr << "Syntax: " << n << " [OPTION] <DCP> <DCP>\n" - << " -b, --bitwise bitwise check\n" << " -v, --version show libdcp version\n" << " -h, --help show this help\n" << "\n" << "The <DCP>s are the DCP directories to compare.\n" - << "Default is to compare metadata and content, ignoring timestamps\n" - << "and differing UUIDs. Pass -b to perform a bitwise comparison.\n"; + << "Comparison is of metadata and content, ignoring timestamps\n" + << "and differing UUIDs.\n"; } int main (int argc, char* argv[]) { EqualityOptions options; - options.bitwise = false; int option_index = 0; while (1) { static struct option long_options[] = { - { "bitwise", no_argument, 0, 'b'}, { "version", no_argument, 0, 'v'}, { "help", no_argument, 0, 'h'}, { 0, 0, 0, 0 } }; - int c = getopt_long (argc, argv, "bvhd", long_options, &option_index); + int c = getopt_long (argc, argv, "vh", long_options, &option_index); if (c == -1) { break; } switch (c) { - case 'b': - options.bitwise = true; - break; case 'v': cout << "dcpdiff version " << LIBDCP_VERSION << "\n"; exit (EXIT_SUCCESS); |
