diff --git a/src/Composer/Command/InitCommand.php b/src/Composer/Command/InitCommand.php index 1071e949d..a44546b73 100644 --- a/src/Composer/Command/InitCommand.php +++ b/src/Composer/Command/InitCommand.php @@ -208,7 +208,8 @@ EOT $description = $input->getOption('description') ?: false; $description = $dialog->ask( $output, - $dialog->getQuestion('Description', $description) + $dialog->getQuestion('Description', $description), + $description ); $input->setOption('description', $description); @@ -258,7 +259,8 @@ EOT $license = $input->getOption('license') ?: false; $license = $dialog->ask( $output, - $dialog->getQuestion('License', $license) + $dialog->getQuestion('License', $license), + $license ); $input->setOption('license', $license);