aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2009-06-07 13:04:41 -0700
committerAvatar David Leverton <levertond@googlemail.com> 2009-06-07 21:21:21 +0100
commitbbfb699566598142b50c5b4246e56197c69ccf28 (patch)
treed84364618073a339bc33e02598b7542fd42e4b0f
parentc0cff286e75bd986b1f83638e76cc8d24fb30f62 (diff)
downloadpaludis-bbfb699566598142b50c5b4246e56197c69ccf28.tar.gz
paludis-bbfb699566598142b50c5b4246e56197c69ccf28.tar.xz
mark show as an important command
-rw-r--r--src/clients/cave/cmd_show.cc6
-rw-r--r--src/clients/cave/cmd_show.hh2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/clients/cave/cmd_show.cc b/src/clients/cave/cmd_show.cc
index 8533bbf..d923616 100644
--- a/src/clients/cave/cmd_show.cc
+++ b/src/clients/cave/cmd_show.cc
@@ -767,6 +767,12 @@ namespace
}
}
+bool
+ShowCommand::important() const
+{
+ return true;
+}
+
int
ShowCommand::run(
const std::tr1::shared_ptr<Environment> & env,
diff --git a/src/clients/cave/cmd_show.hh b/src/clients/cave/cmd_show.hh
index c0e794f..f253030 100644
--- a/src/clients/cave/cmd_show.hh
+++ b/src/clients/cave/cmd_show.hh
@@ -30,6 +30,8 @@ namespace paludis
public Command
{
public:
+ bool important() const;
+
int run(
const std::tr1::shared_ptr<Environment> &,
const std::tr1::shared_ptr<const Sequence<std::string > > & args