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