Skip to content

Commit 26e00f6

Browse files
committed
Docs: clarify behavior of multiple --vim-file-bufnr
1 parent 500b900 commit 26e00f6

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

docs/cli.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@ Incompatible with *--lsp-server*.
4848

4949
*--vim-file-bufnr*=_number_::
5050
Set the _bufnr_ property for errors printed with the *--output-format=vim-qflist-json* option.
51-
*--vim-file-bufnr* applies only to files which are given later in the command line.
52-
Therefore, if multiple files are given, *--vim-file-bufnr* can be specified multiple times.
51+
+
52+
*--vim-file-bufnr* applies only to the next input file given in the command line.
53+
Therefore, if multiple input files are given, *--vim-file-bufnr* can be specified multiple times.
5354

5455
[#config-file]
5556
*--config-file*=_file_::

docs/man/quick-lint-js.1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,9 @@ Incompatible with \fB\-\-lsp\-server\fP.
9393
\fB\-\-vim\-file\-bufnr\fP=\fInumber\fP
9494
.RS 4
9595
Set the \fIbufnr\fP property for errors printed with the \fB\-\-output\-format=vim\-qflist\-json\fP option.
96-
\fB\-\-vim\-file\-bufnr\fP applies only to files which are given later in the command line.
97-
Therefore, if multiple files are given, \fB\-\-vim\-file\-bufnr\fP can be specified multiple times.
96+
.sp
97+
\fB\-\-vim\-file\-bufnr\fP applies only to the next input file given in the command line.
98+
Therefore, if multiple input files are given, \fB\-\-vim\-file\-bufnr\fP can be specified multiple times.
9899
.RE
99100
.sp
100101
\fB\-\-config\-file\fP=\fIfile\fP

0 commit comments

Comments
 (0)