diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-05-25 02:56:29 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-05-25 02:56:29 +0100 |
| commit | 46b75f89c0fd357285178c68209f663e3afa85c8 (patch) | |
| tree | 21d04bc0eacbe869c1f781f0f483f54267a868ee /src | |
| parent | 8167d04e4dde6297ad936dca5dc691818a4dae41 (diff) | |
19940a8e1ff462e567fbf79ccf5ce81a57444f8b from master; make dcpomatic_cli less talkative when -n is passed.
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/dcpomatic_cli.cc | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/tools/dcpomatic_cli.cc b/src/tools/dcpomatic_cli.cc index 0307cac9c..36929db36 100644 --- a/src/tools/dcpomatic_cli.cc +++ b/src/tools/dcpomatic_cli.cc @@ -129,13 +129,6 @@ main (int argc, char* argv[]) new JSONServer (json_port.get ()); } - cout << "DCP-o-matic " << dcpomatic_version << " git " << dcpomatic_git_commit; - char buf[256]; - if (gethostname (buf, 256) == 0) { - cout << " on " << buf; - } - cout << "\n"; - shared_ptr<Film> film; try { film.reset (new Film (film_dir)); @@ -155,8 +148,10 @@ main (int argc, char* argv[]) } } } - - cout << "\nMaking DCP for " << film->name() << "\n"; + + if (progress) { + cout << "\nMaking DCP for " << film->name() << "\n"; + } film->make_dcp (); |
