X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrupal%2Fconsole%2Fsrc%2FCommand%2FDatabase%2FAddCommand.php;h=1e2087a10eb2f94cccaa7da5f2862e628f3f5c64;hp=d62c178366fef542cd5369d841eea5928e0cea7c;hb=eba34333e3c89f208d2f72fa91351ad019a71583;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae diff --git a/vendor/drupal/console/src/Command/Database/AddCommand.php b/vendor/drupal/console/src/Command/Database/AddCommand.php index d62c17836..1e2087a10 100644 --- a/vendor/drupal/console/src/Command/Database/AddCommand.php +++ b/vendor/drupal/console/src/Command/Database/AddCommand.php @@ -50,43 +50,43 @@ class AddCommand extends Command ->setDescription($this->trans('commands.database.add.description')) ->addOption( 'database', - '', + null, InputOption::VALUE_REQUIRED, $this->trans('commands.database.add.options.database') ) ->addOption( 'username', - '', + null, InputOption::VALUE_REQUIRED, $this->trans('commands.database.add.options.username') ) ->addOption( 'password', - '', + null, InputOption::VALUE_REQUIRED, $this->trans('commands.database.add.options.password') ) ->addOption( 'prefix', - '', + null, InputOption::VALUE_OPTIONAL, $this->trans('commands.database.add.options.prefix') ) ->addOption( 'host', - '', + null, InputOption::VALUE_OPTIONAL, $this->trans('commands.database.add.options.host') ) ->addOption( 'port', - '', + null, InputOption::VALUE_OPTIONAL, $this->trans('commands.database.add.options.port') ) ->addOption( 'driver', - '', + null, InputOption::VALUE_OPTIONAL, $this->trans('commands.database.add.options.driver') )