.bashrc: Fix: ctags: Warning: "--file-tags" option is obsolete; use "--extras=+f...
authorJan Kratochvil <jan@jankratochvil.net>
Sun, 14 Nov 2021 08:49:23 +0000 (09:49 +0100)
committerJan Kratochvil <jan@jankratochvil.net>
Sun, 14 Nov 2021 08:49:23 +0000 (09:49 +0100)
.bashrc

diff --git a/.bashrc b/.bashrc
index 9d70dcf..5bd3546 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -294,7 +294,7 @@ function ctags {(unset ctags
                                                -o -name "*.py" \
                                                -o -name "*.exp" \
                                                ')' \
-                               |ctags --file-tags -L - --langmap=Tcl:+.exp "$@"
+                               |ctags --extras=+f -L - --langmap=Tcl:+.exp "$@"
        fi; );}
 function ctagsh { ctags "--c-types=+px"; }
 function cpan {(unset cpan; if [ $# = 0 ];then cpan;else perl -MCPAN -e "install qw($*);";fi; );}