aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_generate_metadata.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/cave/cmd_generate_metadata.cc')
-rw-r--r--src/clients/cave/cmd_generate_metadata.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/clients/cave/cmd_generate_metadata.cc b/src/clients/cave/cmd_generate_metadata.cc
index 0081032f9..f5fdae4bf 100644
--- a/src/clients/cave/cmd_generate_metadata.cc
+++ b/src/clients/cave/cmd_generate_metadata.cc
@@ -140,7 +140,7 @@ namespace
if (! output)
return;
- std::string s(stage + ": ");
+ std::string s;
s.append(stringify(steps));
if (-1 != total)
s.append("/" + stringify(total));
@@ -178,6 +178,7 @@ namespace
s.append(stringify(t) + " metadata (" + ss + ") ");
}
+ s = stage + ": " + s;
std::cout << std::string(width, '\010') << s;
if (width > s.length())