Skip to content

Commit 3fe64de

Browse files
committed
Merge branch 'mr/thevenoux-langkit-query-language#558' into 'master'
Fix lkql fix documentation Closes #558 See merge request eng/libadalang/langkit-query-language!547
2 parents 7d454a1 + fde66ca commit 3fe64de

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

user_manual/source/lkql_driver.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ list of Ada sources to use during analysis. Here is an example usage:
158158
159159
160160
``lkql fix``
161+
^^^^^^^^^^^^
161162

162163
.. danger::
163164

@@ -173,13 +174,14 @@ additional ones:
173174

174175
``--auto-fix-mode=<mode>``
175176
The mode to use when applying auto-fixes. Available modes are:
177+
176178
* ``DISPLAY``: Only display fixed sources in standard output, doesn't modify
177-
any source file
179+
any source file
178180
* ``NEW_FILE``: For each source file, if it has some fixes, create a new file
179-
named ``<filename>.patched`` alongside the original one containing the
180-
patched source
181-
* ``PATH_FILE``: Replace each source file that has fixes in them by their
182-
patched version
181+
named ``<filename>.patched`` alongside the original one containing the
182+
patched source
183+
* ``PATCH_FILE``: Replace each source file that has fixes in them by their
184+
patched version
183185

184186
For now, there is no list of rules with an auto-fix function, but you can check
185187
if a rule can be used with this sub-command by reading its source code and

0 commit comments

Comments
 (0)