summaryrefslogtreecommitdiff
path: root/src/tools/dcpomatic_cli.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-05-24 22:47:29 +0100
committerCarl Hetherington <cth@carlh.net>2014-05-24 22:47:29 +0100
commit446427a28a055115d78d5ec513b9229571fca511 (patch)
treee682b46e64b832cc63beed1da2c932641f34b0f7 /src/tools/dcpomatic_cli.cc
parent0a420c3bb0e256ac5dfe3e7b0275b0d9e535fe0f (diff)
Rely on Config for log settings, not the command line.
Diffstat (limited to 'src/tools/dcpomatic_cli.cc')
-rw-r--r--src/tools/dcpomatic_cli.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/tools/dcpomatic_cli.cc b/src/tools/dcpomatic_cli.cc
index 73067f406..8fed28f18 100644
--- a/src/tools/dcpomatic_cli.cc
+++ b/src/tools/dcpomatic_cli.cc
@@ -65,7 +65,6 @@ main (int argc, char* argv[])
string film_dir;
bool progress = true;
bool no_remote = false;
- string log_types = "general,warning,error";
int json_port = 0;
bool keep_going = false;
@@ -78,13 +77,12 @@ main (int argc, char* argv[])
{ "flags", no_argument, 0, 'f'},
{ "no-progress", no_argument, 0, 'n'},
{ "no-remote", no_argument, 0, 'r'},
- { "log-types", required_argument, 0, 'l' },
{ "json", required_argument, 0, 'j' },
{ "keep-going", no_argument, 0, 'k' },
{ 0, 0, 0, 0 }
};
- int c = getopt_long (argc, argv, "vhdfnrl:j:k", long_options, &option_index);
+ int c = getopt_long (argc, argv, "vhdfnrj:k", long_options, &option_index);
if (c == -1) {
break;
@@ -109,9 +107,6 @@ main (int argc, char* argv[])
case 'r':
no_remote = true;
break;
- case 'l':
- log_types = optarg;
- break;
case 'j':
json_port = atoi (optarg);
break;
@@ -155,8 +150,6 @@ main (int argc, char* argv[])
exit (EXIT_FAILURE);
}
- film->log()->set_types (log_types);
-
cout << "\nMaking DCP for " << film->name() << "\n";
// cout << "Content: " << film->content() << "\n";
// pair<string, string> const f = Filter::ffmpeg_strings (film->filters ());