| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.8. |
| 2 |
.TH MKID "1" "May 2020" "mkid - 4.6.28-15da" "User Commands" |
| 3 |
.SH NAME |
| 4 |
mkid \- build an identifier database |
| 5 |
.SH SYNOPSIS |
| 6 |
.B mkid |
| 7 |
[\fI\,OPTION\/\fR]... [\fI\,FILE\/\fR]... |
| 8 |
.SH DESCRIPTION |
| 9 |
.\" Add any additional description here |
| 10 |
.PP |
| 11 |
Build an identifier database. |
| 12 |
.TP |
| 13 |
\fB\-o\fR, \fB\-\-output\fR=\fI\,OUTFILE\/\fR |
| 14 |
file name of ID database output |
| 15 |
.TP |
| 16 |
\fB\-f\fR, \fB\-\-file\fR=\fI\,OUTFILE\/\fR |
| 17 |
synonym for \fB\-\-output\fR |
| 18 |
.TP |
| 19 |
\fB\-i\fR, \fB\-\-include\fR=\fI\,LANGS\/\fR |
| 20 |
include languages in LANGS (default: "C C++ asm") |
| 21 |
.TP |
| 22 |
\fB\-x\fR, \fB\-\-exclude\fR=\fI\,LANGS\/\fR |
| 23 |
exclude languages in LANGS |
| 24 |
.HP |
| 25 |
\fB\-l\fR, \fB\-\-lang\-option\fR=\fI\,L\/\fR:OPT pass OPT as a default for language L (see below) |
| 26 |
.TP |
| 27 |
\fB\-m\fR, \fB\-\-lang\-map\fR=\fI\,MAPFILE\/\fR |
| 28 |
use MAPFILE to map file names onto source language |
| 29 |
.TP |
| 30 |
\fB\-d\fR, \fB\-\-default\-lang\fR=\fI\,LANG\/\fR |
| 31 |
make LANG the default source language |
| 32 |
.TP |
| 33 |
\fB\-p\fR, \fB\-\-prune\fR=\fI\,NAMES\/\fR |
| 34 |
exclude the named files and/or directories |
| 35 |
.TP |
| 36 |
\fB\-v\fR, \fB\-\-verbose\fR |
| 37 |
report per file statistics |
| 38 |
.TP |
| 39 |
\fB\-s\fR, \fB\-\-statistics\fR |
| 40 |
report statistics at end of run |
| 41 |
.TP |
| 42 |
\fB\-\-files0\-from\fR=\fI\,F\/\fR |
| 43 |
tokenize only the files specified by |
| 44 |
NUL\-terminated names in file F |
| 45 |
.TP |
| 46 |
\fB\-\-help\fR |
| 47 |
display this help and exit |
| 48 |
.TP |
| 49 |
\fB\-\-version\fR |
| 50 |
output version information and exit |
| 51 |
.PP |
| 52 |
FILE may be a file name, or a directory name to recursively search. |
| 53 |
If no FILE is given, the current directory is searched by default. |
| 54 |
Note that the `\-\-include' and `\-\-exclude' options are mutually\-exclusive. |
| 55 |
.PP |
| 56 |
The following arguments apply to the language\-specific scanners: |
| 57 |
.SS "C language:" |
| 58 |
.TP |
| 59 |
\fB\-k\fR,\-\-keep=CHARS |
| 60 |
Allow CHARS in single\-token strings, keep the result |
| 61 |
.TP |
| 62 |
\fB\-i\fR,\-\-ignore=CHARS |
| 63 |
Allow CHARS in single\-token strings, toss the result |
| 64 |
.TP |
| 65 |
\fB\-u\fR,\-\-strip\-underscore |
| 66 |
Strip a leading underscore from single\-token strings |
| 67 |
.SS "C++ language:" |
| 68 |
.TP |
| 69 |
\fB\-k\fR,\-\-keep=CHARS |
| 70 |
Allow CHARS in single\-token strings, keep the result |
| 71 |
.TP |
| 72 |
\fB\-i\fR,\-\-ignore=CHARS |
| 73 |
Allow CHARS in single\-token strings, toss the result |
| 74 |
.TP |
| 75 |
\fB\-u\fR,\-\-strip\-underscore |
| 76 |
Strip a leading underscore from single\-token strings |
| 77 |
.SS "Java language:" |
| 78 |
.TP |
| 79 |
\fB\-k\fR,\-\-keep=CHARS |
| 80 |
Allow CHARS in single\-token strings, keep the result |
| 81 |
.TP |
| 82 |
\fB\-i\fR,\-\-ignore=CHARS |
| 83 |
Allow CHARS in single\-token strings, toss the result |
| 84 |
.TP |
| 85 |
\fB\-u\fR,\-\-strip\-underscore |
| 86 |
Strip a leading underscore from single\-token strings |
| 87 |
.SS "Assembly language:" |
| 88 |
.TP |
| 89 |
\fB\-c\fR,\-\-comment=CHARS |
| 90 |
Any of CHARS starts a comment until end\-of\-line |
| 91 |
.TP |
| 92 |
\fB\-k\fR,\-\-keep=CHARS |
| 93 |
Allow CHARS in tokens, and keep the result |
| 94 |
.TP |
| 95 |
\fB\-i\fR,\-\-ignore=CHARS |
| 96 |
Allow CHARS in tokens, and toss the result |
| 97 |
.TP |
| 98 |
\fB\-u\fR,\-\-strip\-underscore |
| 99 |
Strip a leading underscore from tokens |
| 100 |
.TP |
| 101 |
\fB\-n\fR,\-\-no\-cpp |
| 102 |
Don't handle C pre\-processor directives |
| 103 |
.SS "Text language:" |
| 104 |
.TP |
| 105 |
\fB\-i\fR,\-\-include=CHAR\-CLASS |
| 106 |
Treat characters of CHAR\-CLASS as token constituents |
| 107 |
.TP |
| 108 |
\fB\-x\fR,\-\-exclude=CHAR\-CLASS |
| 109 |
Treat characters of CHAR\-CLASS as token delimiters |
| 110 |
.SS "Perl language:" |
| 111 |
.TP |
| 112 |
\fB\-i\fR,\-\-include=CHAR\-CLASS |
| 113 |
Treat characters of CHAR\-CLASS as token constituents |
| 114 |
.TP |
| 115 |
\fB\-x\fR,\-\-exclude=CHAR\-CLASS |
| 116 |
Treat characters of CHAR\-CLASS as token delimiters |
| 117 |
.TP |
| 118 |
\fB\-d\fR,\-\-dtags |
| 119 |
Include documentation tags |
| 120 |
.PP |
| 121 |
Lisp language: |
| 122 |
.SH "REPORTING BUGS" |
| 123 |
Report bugs to bug\[email protected] |
| 124 |
.SH "SEE ALSO" |
| 125 |
The full documentation for |
| 126 |
.B mkid |
| 127 |
is maintained as a Texinfo manual. If the |
| 128 |
.B info |
| 129 |
and |
| 130 |
.B mkid |
| 131 |
programs are properly installed at your site, the command |
| 132 |
.IP |
| 133 |
.B info mkid |
| 134 |
.PP |
| 135 |
should give you access to the complete manual. |