| @@ 82-86 (lines=5) @@ | ||
| 79 | ||
| 80 | return 0; |
|
| 81 | } |
|
| 82 | if (!isset($params['q'])) { |
|
| 83 | if ($stdIn = $this->readStdin()) { |
|
| 84 | $params['q'] = $stdIn; |
|
| 85 | } |
|
| 86 | } |
|
| 87 | ||
| 88 | if (isset($params['a'])) { |
|
| 89 | Context::setMode('ANSI_QUOTES'); |
|
| @@ 143-147 (lines=5) @@ | ||
| 140 | if (isset($params['c'])) { |
|
| 141 | Context::load($params['c']); |
|
| 142 | } |
|
| 143 | if (!isset($params['q'])) { |
|
| 144 | if ($stdIn = $this->readStdin()) { |
|
| 145 | $params['q'] = $stdIn; |
|
| 146 | } |
|
| 147 | } |
|
| 148 | if (isset($params['a'])) { |
|
| 149 | Context::setMode('ANSI_QUOTES'); |
|
| 150 | } |
|
| @@ 204-208 (lines=5) @@ | ||
| 201 | ||
| 202 | return 0; |
|
| 203 | } |
|
| 204 | if (!isset($params['q'])) { |
|
| 205 | if ($stdIn = $this->readStdin()) { |
|
| 206 | $params['q'] = $stdIn; |
|
| 207 | } |
|
| 208 | } |
|
| 209 | ||
| 210 | if (isset($params['a'])) { |
|
| 211 | Context::setMode('ANSI_QUOTES'); |
|