diff --git a/src/Composer/Command/InstallCommand.php b/src/Composer/Command/InstallCommand.php
index 669c03582..1b41bd7ec 100644
--- a/src/Composer/Command/InstallCommand.php
+++ b/src/Composer/Command/InstallCommand.php
@@ -74,6 +74,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 ebfd4cb2a..c8e1f8587 100644
--- a/src/Composer/Command/UpdateCommand.php
+++ b/src/Composer/Command/UpdateCommand.php
@@ -76,6 +76,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();