Skip to content

Commit 63fceed

Browse files
idodeclareVladimir Kotal
authored andcommitted
Use --extras=+F instead of --file-scope=yes
Latter is deprecated, and former has been available since early 2017.
1 parent b47b86e commit 63fceed

File tree

1 file changed

+2
-2
lines changed
  • opengrok-indexer/src/main/java/org/opengrok/indexer/analysis

1 file changed

+2
-2
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/analysis/Ctags.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ private void initialize() {
170170
command.add("--kinds-sql=+l");
171171
command.add("--kinds-Fortran=+L");
172172
command.add("--kinds-C++=+l");
173-
command.add("--file-scope=yes");
174-
command.add("-u");
173+
command.add("--extras=+F"); // Replacement for `--file-scope=yes` since 2017
174+
command.add("-u"); // Equivalent to `--sort=no` (i.e. "unsorted")
175175
command.add("--filter=yes");
176176
command.add("--filter-terminator=" + CTAGS_FILTER_TERMINATOR + "\n");
177177
command.add("--fields=-af+iKnS");

0 commit comments

Comments
 (0)