aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_search.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-12 21:41:50 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-12 22:24:33 +0000
commit67bd5a2be68eb8dc7faeab3de48dbf970812331d (patch)
treee8af9459c6e736a5c682048924ae21e523486487 /src/clients/cave/cmd_search.cc
parent2cf131574c5dd27d2cd1a6a8a3c330bb65cd9bae (diff)
downloadpaludis-67bd5a2be68eb8dc7faeab3de48dbf970812331d.tar.gz
paludis-67bd5a2be68eb8dc7faeab3de48dbf970812331d.tar.xz
Make command importance an enum
Diffstat (limited to 'src/clients/cave/cmd_search.cc')
-rw-r--r--src/clients/cave/cmd_search.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/clients/cave/cmd_search.cc b/src/clients/cave/cmd_search.cc
index dd8476d6e..1a36dd0f4 100644
--- a/src/clients/cave/cmd_search.cc
+++ b/src/clients/cave/cmd_search.cc
@@ -254,12 +254,6 @@ namespace
}
}
-bool
-SearchCommand::important() const
-{
- return true;
-}
-
int
SearchCommand::run(
const std::shared_ptr<Environment> & env,
@@ -357,3 +351,9 @@ SearchCommand::make_doc_cmdline()
return std::make_shared<SearchCommandLine>();
}
+CommandImportance
+SearchCommand::importance() const
+{
+ return ci_core;
+}
+