diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-07-07 15:27:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-07-07 15:27:04 +0100 |
| commit | b5b200e3e8c4134e8fdc31f2d24dcb197e6fc741 (patch) | |
| tree | c5bf7ee2c3d6e716a89d887f1d889a182686e804 | |
| parent | 9f3be02c2c34c01b2d44a85a3b7f61d49901381c (diff) | |
CLI formatting tweak.
| -rw-r--r-- | src/tools/dcpomatic_cli.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_cli.cc b/src/tools/dcpomatic_cli.cc index eaf868fca..1a0ffda00 100644 --- a/src/tools/dcpomatic_cli.cc +++ b/src/tools/dcpomatic_cli.cc @@ -317,7 +317,11 @@ main (int argc, char* argv[]) BOOST_FOREACH (shared_ptr<Job> i, jobs) { if (progress) { - cout << i->name() << "; " << i->sub_name() << ": "; + cout << i->name(); + if (!i->sub_name().empty()) { + cout << "; " << i->sub_name(); + } + cout << ": "; if (i->progress ()) { cout << i->status() << " \n"; |
