We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ef29b9 commit 2c335a4Copy full SHA for 2c335a4
phpctags
@@ -1,7 +1,5 @@
1
#!/usr/bin/php -q
2
<?php
3
-error_reporting(0);
4
-
5
if (is_dir($vendor = __DIR__ . '/vendor')) {
6
require($vendor . '/autoload.php');
7
} elseif (is_dir($vendor = __DIR__ . '/../../../vendor')) {
@@ -15,12 +13,17 @@ if (is_dir($vendor = __DIR__ . '/vendor')) {
15
13
}
16
14
17
$options = getopt('f:',array(
+ 'debug',
18
'excmd::',
19
'fields::',
20
'format::',
21
'version',
22
));
23
+if(!isset($options['debug'])) {
24
+ error_reporting(0);
25
+}
26
+
27
if(isset($options['version'])) {
28
echo <<<'EOF'
29
Exuberant Ctags compatiable PHP enhancement, Copyright (C) 2012 Techlive Zheng
0 commit comments