X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fdrush%2Fdrush%2Fsrc%2FCommands%2Fsql%2FSqlCommands.php;fp=vendor%2Fdrush%2Fdrush%2Fsrc%2FCommands%2Fsql%2FSqlCommands.php;h=861a4411717e9d11dac7babf982f8c8d9861863a;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=d7ee5743eb80ee4b5f25aa2c16df3d03d57d44e8;hpb=74df008bdbb3a11eeea356744f39b802369bda3c;p=yaffs-website diff --git a/vendor/drush/drush/src/Commands/sql/SqlCommands.php b/vendor/drush/drush/src/Commands/sql/SqlCommands.php index d7ee5743e..861a44117 100644 --- a/vendor/drush/drush/src/Commands/sql/SqlCommands.php +++ b/vendor/drush/drush/src/Commands/sql/SqlCommands.php @@ -123,17 +123,17 @@ class SqlCommands extends DrushCommands * Open a SQL command-line interface using Drupal's credentials. * * @command sql:cli - * @option extra Add custom options to the connect string (e.g. --extra=--skip-column-names) + * @option extra Add custom options to the connect string * @optionset_sql * @aliases sqlc,sql-cli * @usage drush sql:cli * Open a SQL command-line interface using Drupal's credentials. - * @usage drush sql:cli --extra=-A + * @usage drush sql:cli --extra=--progress-reports * Open a SQL CLI and skip reading table information. * @remote-tty * @bootstrap max configuration */ - public function cli($options = []) + public function cli($options = ['extra' => self::REQ]) { $sql = SqlBase::create($options); if (drush_shell_proc_open($sql->connect())) { @@ -201,7 +201,7 @@ class SqlCommands extends DrushCommands * @option ordered-dump Order by primary key and add line breaks for efficient diffs. Slows down the dump. Mysql only. * @option gzip Compress the dump using the gzip program which must be in your $PATH. * @option extra Add custom arguments/options when connecting to database (used internally to list tables). - * @option extra-dump Add custom arguments/options to the dumping the database (e.g. mysqldump command). + * @option extra-dump Add custom arguments/options to the dumping of the database (e.g. mysqldump command). * @usage drush sql:dump --result-file=../18.sql * Save SQL dump to the directory above Drupal root. * @usage drush sql:dump --skip-tables-key=common