aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-09-17 00:12:01 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-09-17 00:12:01 +0000
commit8980e15dff02bea1d5e228e47198031ec0a257cd (patch)
tree05b32ad38d0f03f2a9914104d8ce3079de93161a
parentf3edd53461f5f1dc43c010ceb9e42610df100a1e (diff)
downloadpaludis-8980e15dff02bea1d5e228e47198031ec0a257cd.tar.gz
paludis-8980e15dff02bea1d5e228e47198031ec0a257cd.tar.xz
Don't show resume command for -p, -f
-rw-r--r--src/paludis/install.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/paludis/install.cc b/src/paludis/install.cc
index ec630fc..f61f6c0 100644
--- a/src/paludis/install.cc
+++ b/src/paludis/install.cc
@@ -514,6 +514,10 @@ namespace
void show_resume_command(const InstallTask & task)
{
+ if (CommandLine::get_instance()->a_fetch.specified() ||
+ CommandLine::get_instance()->a_pretend.specified())
+ return;
+
if (task.current_dep_list_entry() != task.dep_list().end())
{
cerr << "Resume command: " << DefaultEnvironment::get_instance()->paludis_command() <<