diff options
-rw-r--r-- | src/clients/cave/cmd_generate_metadata.cc | 3 | ||||
-rw-r--r-- | src/clients/cave/cmd_manage_search_index.cc | 3 | ||||
-rw-r--r-- | src/clients/cave/cmd_search.cc | 3 |
3 files changed, 6 insertions, 3 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()) 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()) diff --git a/src/clients/cave/cmd_search.cc b/src/clients/cave/cmd_search.cc index c3f8ed3c8..c4e5cf11c 100644 --- a/src/clients/cave/cmd_search.cc +++ b/src/clients/cave/cmd_search.cc @@ -162,7 +162,7 @@ namespace if (! output) return; - std::string s(stage + ": "); + std::string s; s.append(stringify(steps)); if (! metadata.empty()) @@ -198,6 +198,7 @@ namespace s.append(stringify(t) + " metadata (" + ss + ") "); } + s = stage + ": " + s; std::cout << std::string(width, '\010') << s; if (width > s.length()) |