From b5b200e3e8c4134e8fdc31f2d24dcb197e6fc741 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 7 Jul 2016 15:27:04 +0100 Subject: [PATCH] CLI formatting tweak. --- src/tools/dcpomatic_cli.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 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"; -- 2.30.2