Move log environment dump stuff out into its own file.
[dcpomatic.git] / src / tools / dcpomatic_cli.cc
index 44abf4116d01403fc56963eee4d2a112d000a705..2a2db9842a4599e23eb080d98bdf8470aee26bdc 100644 (file)
@@ -48,7 +48,6 @@ help (string n)
        cerr << "Syntax: " << n << " [OPTION] <FILM>\n"
             << "  -v, --version      show DCP-o-matic version\n"
             << "  -h, --help         show this help\n"
-            << "  -d, --deps         list DCP-o-matic dependency details and quit\n"
             << "  -f, --flags        show flags passed to C++ compiler on build\n"
             << "  -n, --no-progress  do not print progress to stdout\n"
             << "  -r, --no-remote    do not use any remote servers\n"
@@ -70,7 +69,6 @@ main (int argc, char* argv[])
                static struct option long_options[] = {
                        { "version", no_argument, 0, 'v'},
                        { "help", no_argument, 0, 'h'},
-                       { "deps", no_argument, 0, 'd'},
                        { "flags", no_argument, 0, 'f'},
                        { "no-progress", no_argument, 0, 'n'},
                        { "no-remote", no_argument, 0, 'r'},
@@ -78,7 +76,7 @@ main (int argc, char* argv[])
                        { 0, 0, 0, 0 }
                };
 
-               int c = getopt_long (argc, argv, "vhdfnrk", long_options, &option_index);
+               int c = getopt_long (argc, argv, "vhfnrk", long_options, &option_index);
 
                if (c == -1) {
                        break;
@@ -91,9 +89,6 @@ main (int argc, char* argv[])
                case 'h':
                        help (argv[0]);
                        exit (EXIT_SUCCESS);
-               case 'd':
-                       cout << dependency_version_summary () << "\n";
-                       exit (EXIT_SUCCESS);
                case 'f':
                        cout << dcpomatic_cxx_flags << "\n";
                        exit (EXIT_SUCCESS);