aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_search.cc
diff options
context:
space:
mode:
authorAvatar Elias Pipping <pipping@exherbo.org> 2011-08-17 18:43:57 +0200
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-08-18 09:12:23 +0100
commit41fd2129e9bd746ab2eb098e26f6699c662ac882 (patch)
tree1bdf3a2751816b4fa882965d0c5fce960164a04d /src/clients/cave/cmd_search.cc
parent0792ceb03470340d97dd80efa6e2c7fd715f0af5 (diff)
downloadpaludis-41fd2129e9bd746ab2eb098e26f6699c662ac882.tar.gz
paludis-41fd2129e9bd746ab2eb098e26f6699c662ac882.tar.xz
Fix this: Resolving: , n metadata (..)
Diffstat (limited to 'src/clients/cave/cmd_search.cc')
-rw-r--r--src/clients/cave/cmd_search.cc3
1 files changed, 2 insertions, 1 deletions
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())