diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-01-15 10:54:03 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-01-15 10:54:03 +0200 |
commit | fee0526a189f43e8470d78e8374bd425890fbe6f (patch) | |
tree | 331c457af2cd42bf6f25b85e5b112fe97da35ef1 /doc/man | |
parent | b70dba4e18514411ed38b5bbb846558158842ace (diff) | |
download | emacs-fee0526a189f43e8470d78e8374bd425890fbe6f.tar.gz |
Unhide the --no-line-directive option to 'etags'
* lib-src/etags.c (print_help): Un-undocument the --no-line-directive
option. (Bug#22306)
* doc/man/etags.1: Document the --no-line-directive option.
Diffstat (limited to 'doc/man')
-rw-r--r-- | doc/man/etags.1 | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/doc/man/etags.1 b/doc/man/etags.1 index 7d5d374f99a..d34063f23cd 100644 --- a/doc/man/etags.1 +++ b/doc/man/etags.1 @@ -17,7 +17,7 @@ etags, ctags \- generate tag file for Emacs, vi [\|\-\-parse\-stdin=\fIfile\fP\|] .br [\|\-\-append\|] [\|\-\-no\-defines\|] [\|\-\-globals\|] -[\|\-\-no\-globals\|] [\|\-\-include=\fIfile\fP\|] +[\|\-\-no\-globals\|] [\|\-\-no\-line\-directive\|] [\|\-\-include=\fIfile\fP\|] [\|\-\-ignore\-indentation\|] [\|\-\-language=\fIlanguage\fP\|] [\|\-\-members\|] [\|\-\-no\-members\|] [\|\-\-output=\fItagfile\fP\|] [\|\-\-class\-qualify\|] @@ -31,8 +31,8 @@ etags, ctags \- generate tag file for Emacs, vi [\|\-\-parse\-stdin=\fIfile\fP\|] .br [\|\-\-append\|] [\|\-\-backward\-search\|] -[\|\-\-cxref\|] [\|\-\-no\-defines\|] -[\|\-\-globals\|] [\|\-\-no\-globals\|] [\|\-\-ignore\-indentation\|] +[\|\-\-cxref\|] [\|\-\-no\-defines\|] [\|\-\-globals\|] +[\|\-\-no\-globals\|] [\|\-\-no\-line\-directive\|] [\|\-\-ignore\-indentation\|] [\|\-\-language=\fIlanguage\fP\|] [\|\-\-members\|] [\|\-\-no\-members\|] [\|\-\-class\-qualify\|] [\|\-\-output=\fItagfile\fP\|] [\|\-\-regex=\fIregexp\fP\|] @@ -105,6 +105,12 @@ the default in C and derived languages. Do not tag global variables in C and derived languages. Typically this reduces the file size by one fourth. .TP +.B \-\-no\-line\-directive +Ignore \fB#line\fP preprocessor directives in C and derived languages. The +default is to honor those directives, and record the tags as if the +file scanned was the one named in the \fB#line\fP directive. This switch is +useful when the original file named by \fB#line\fP is no longer available. +.TP \fB\-i\fP \fIfile\fP, \fB\-\-include=\fIfile\fP Include a note in the tag file indicating that, when searching for a tag, one should also consult the tags file \fIfile\fP after checking the |