projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f3be02
)
CLI formatting tweak.
author
Carl Hetherington
<cth@carlh.net>
Thu, 7 Jul 2016 14:27:04 +0000
(15:27 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 7 Jul 2016 14:27:04 +0000
(15:27 +0100)
src/tools/dcpomatic_cli.cc
patch
|
blob
|
history
diff --git
a/src/tools/dcpomatic_cli.cc
b/src/tools/dcpomatic_cli.cc
index eaf868fcaecd548ef9a0e75356ff8d85dfdc6bf9..1a0ffda0021ad0b069d10d9a5dce75927a74272e 100644
(file)
--- 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";