aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2009-06-03 20:47:40 -0700
committerAvatar David Leverton <levertond@googlemail.com> 2009-06-07 21:21:20 +0100
commit57a52c27ad3752b70eb6e548ab1932d54f3e4ad2 (patch)
tree2054028abd9bda8b8c8533edaa86550a122b2bee
parent80fe0746ac3e93b859d0972ac5578a2d147b1fa8 (diff)
downloadpaludis-57a52c27ad3752b70eb6e548ab1932d54f3e4ad2.tar.gz
paludis-57a52c27ad3752b70eb6e548ab1932d54f3e4ad2.tar.xz
mark sync as an important command
-rw-r--r--src/clients/cave/cmd_sync.cc6
-rw-r--r--src/clients/cave/cmd_sync.hh2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/clients/cave/cmd_sync.cc b/src/clients/cave/cmd_sync.cc
index 71b2f1e..46978a1 100644
--- a/src/clients/cave/cmd_sync.cc
+++ b/src/clients/cave/cmd_sync.cc
@@ -298,6 +298,12 @@ namespace
}
}
+bool
+SyncCommand::important() const
+{
+ return true;
+}
+
int
SyncCommand::run(
const std::tr1::shared_ptr<Environment> & env,
diff --git a/src/clients/cave/cmd_sync.hh b/src/clients/cave/cmd_sync.hh
index f589068..f01650a 100644
--- a/src/clients/cave/cmd_sync.hh
+++ b/src/clients/cave/cmd_sync.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