Yaffs site version 1.1
[yaffs-website] / vendor / drupal / console-core / src / Utils / ArgvInputReader.php
index f5c7c41e30c1305b9cf50e1714f6e39cfb291ac0..73fd269e2b1b609507f3d69597be180336309b17 100644 (file)
@@ -151,6 +151,7 @@ class ArgvInputReader
         $source = $input->getParameterOption(['--source', '-s'], null);
         $target = $input->getParameterOption(['--target', '-t'], null);
         $root = $input->getParameterOption(['--root'], null);
+        $debug = $input->getParameterOption(['--debug'], false);
         $uri = $input->getParameterOption(['--uri', '-l']) ?: 'default';
         if ($uri && !preg_match('/^(http|https):\/\//', $uri)) {
             $uri = sprintf('http://%s', $uri);
@@ -159,6 +160,7 @@ class ArgvInputReader
         $this->set('command', $input->getFirstArgument());
         $this->set('root', $root);
         $this->set('uri', $uri);
+        $this->set('debug', $debug);
         $this->set('source', $source);
         $this->set('target', $target);
     }