diff --git a/src/Composer/Command/InstallCommand.php b/src/Composer/Command/InstallCommand.php
index 9d359cad0..115e1d6af 100644
--- a/src/Composer/Command/InstallCommand.php
+++ b/src/Composer/Command/InstallCommand.php
@@ -75,6 +75,10 @@ EOT
$input->setOption('no-plugins', true);
}
+ if ($input->getOption('dev')) {
+ $output->writeln('You are using the deprecated option "dev". Dev packages are installed by default now.');
+ }
+
$composer = $this->getComposer(true, $input->getOption('no-plugins'));
$composer->getDownloadManager()->setOutputProgress(!$input->getOption('no-progress'));
$io = $this->getIO();
diff --git a/src/Composer/Command/UpdateCommand.php b/src/Composer/Command/UpdateCommand.php
index 4e4f003c9..460075f0f 100644
--- a/src/Composer/Command/UpdateCommand.php
+++ b/src/Composer/Command/UpdateCommand.php
@@ -79,6 +79,10 @@ EOT
$input->setOption('no-plugins', true);
}
+ if ($input->getOption('dev')) {
+ $output->writeln('You are using the deprecated option "dev". Dev packages are installed by default now.');
+ }
+
$composer = $this->getComposer(true, $input->getOption('no-plugins'));
$composer->getDownloadManager()->setOutputProgress(!$input->getOption('no-progress'));
$io = $this->getIO();