Skip to content

Commit 3ce289e

Browse files
authored
Merge pull request #4327 from masatake/main-misc
main,doc: minor fixes
2 parents 11498fd + 2f10603 commit 3ce289e

File tree

5 files changed

+30
-9
lines changed

5 files changed

+30
-9
lines changed

docs/man/ctags.1.rst

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -470,9 +470,10 @@ Language Selection and Mapping Options
470470
feature list; otherwise, the file name patterns are matched against
471471
file names using a simple textual comparison.
472472

473-
When mapping a file extension with ``--langmap`` option,
474-
it will first be unmapped from any other languages. (``--map-<LANG>``
475-
option provides more fine-grained control.)
473+
When mapping a file extension or a file name pattern with
474+
``--langmap`` option, it will first be unmapped from any other
475+
languages. (``--map-<LANG>`` option provides more fine-grained
476+
control.)
476477

477478
If the first character in a *<map>* is a plus sign ('``+``'), then the extensions and
478479
file name patterns in that map will be appended to the current map
@@ -1059,6 +1060,8 @@ Listing Options
10591060
``TAG_OUTPUT_VERSION`` in :ref:`ctags-client-tools(7) <ctags-client-tools(7)>` about the ctags output
10601061
version.
10611062

1063+
(since verison 6.3.0)
1064+
10621065
DESCRIPTION
10631066
Human readable description for the extra.
10641067

@@ -1112,6 +1115,8 @@ Listing Options
11121115
``TAG_OUTPUT_VERSION`` in :ref:`ctags-client-tools(7) <ctags-client-tools(7)>` about the ctags output
11131116
version.
11141117

1118+
(since verison 6.3.0)
1119+
11151120
DESCRIPTION
11161121
Human readable description for the field.
11171122

@@ -1208,6 +1213,8 @@ Listing Options
12081213
VER
12091214
The parser version introducing the kind.
12101215

1216+
(since verison 6.3.0)
1217+
12111218
DESCRIPTION
12121219
Human readable description for the kind.
12131220

@@ -1300,6 +1307,8 @@ Listing Options
13001307
VER
13011308
The parser version introducing the role.
13021309

1310+
(since verison 6.3.0)
1311+
13031312
DESCRIPTION
13041313
Human readable description for the role.
13051314

@@ -1325,6 +1334,8 @@ Miscellaneous Options
13251334
``--describe-language=<language>``
13261335
Prints the various aspects of the parser implementing the language.
13271336

1337+
(since verison 6.3.0)
1338+
13281339
``--help``
13291340
Prints to standard output a detailed usage description, and then exits.
13301341

docs/news/HEAD.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ New option: ``--describe-language=<language>``
1313

1414
Prints the various aspects of the parser implementing the language.
1515

16-
New column, VER in the output of --list-{kinds-full,roles,fields,extras,pseudo-tags} options
16+
New column, VER in the output of ``--list-{kinds-full,roles,fields,extras,pseudo-tags}`` options
1717

1818
Indicates the versions of ctags output (or the parser) introducing the
1919
item in the list.

main/fmt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ static fmtElement** queueLiteral (fmtElement **last, char *literal)
147147
Here the two parts are combined with `.'.
148148
149149
If it cannot find a period, it returns LANG_IGNORE and sets
150-
fullname to *fieldName.
150+
fullName to *fieldName.
151151
152152
If lang part if `*', it returns LANG_AUTO and sets the field
153153
name part to *fieldName.

main/main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,5 @@ extern int ctags_cli_main (int argc CTAGS_ATTR_UNUSED, char **argv)
604604
if (Option.printLanguage)
605605
return (Option.printLanguage == true)? 0: 1;
606606

607-
exit (0);
608607
return 0;
609608
}

man/ctags.1.rst.in

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -470,9 +470,10 @@ Language Selection and Mapping Options
470470
feature list; otherwise, the file name patterns are matched against
471471
file names using a simple textual comparison.
472472

473-
When mapping a file extension with ``--langmap`` option,
474-
it will first be unmapped from any other languages. (``--map-<LANG>``
475-
option provides more fine-grained control.)
473+
When mapping a file extension or a file name pattern with
474+
``--langmap`` option, it will first be unmapped from any other
475+
languages. (``--map-<LANG>`` option provides more fine-grained
476+
control.)
476477

477478
If the first character in a *<map>* is a plus sign ('``+``'), then the extensions and
478479
file name patterns in that map will be appended to the current map
@@ -1059,6 +1060,8 @@ Listing Options
10591060
``TAG_OUTPUT_VERSION`` in ctags-client-tools(7) about the ctags output
10601061
version.
10611062

1063+
(since verison 6.3.0)
1064+
10621065
DESCRIPTION
10631066
Human readable description for the extra.
10641067

@@ -1112,6 +1115,8 @@ Listing Options
11121115
``TAG_OUTPUT_VERSION`` in ctags-client-tools(7) about the ctags output
11131116
version.
11141117

1118+
(since verison 6.3.0)
1119+
11151120
DESCRIPTION
11161121
Human readable description for the field.
11171122

@@ -1208,6 +1213,8 @@ Listing Options
12081213
VER
12091214
The parser version introducing the kind.
12101215

1216+
(since verison 6.3.0)
1217+
12111218
DESCRIPTION
12121219
Human readable description for the kind.
12131220

@@ -1300,6 +1307,8 @@ Listing Options
13001307
VER
13011308
The parser version introducing the role.
13021309

1310+
(since verison 6.3.0)
1311+
13031312
DESCRIPTION
13041313
Human readable description for the role.
13051314

@@ -1325,6 +1334,8 @@ Miscellaneous Options
13251334
``--describe-language=<language>``
13261335
Prints the various aspects of the parser implementing the language.
13271336

1337+
(since verison 6.3.0)
1338+
13281339
``--help``
13291340
Prints to standard output a detailed usage description, and then exits.
13301341

0 commit comments

Comments
 (0)