Skip to content

Commit 98cbb5e

Browse files
committed
Merge branch 'feature/improved-console-support' into develop
2 parents 2fd994d + 4cea131 commit 98cbb5e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

phpctags

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,11 @@ if (isset($options['recurse'])) {
192192
}
193193
}
194194

195+
// if option -R is given and no file is specified, use current working directory
196+
if (isset($options['R']) && empty($argv)) {
197+
$argv[] = getcwd();
198+
}
199+
195200
try {
196201
$ctags = new PHPCtags($options);
197202
$ctags->addFiles($argv);

0 commit comments

Comments
 (0)