Skip to content

Commit

Permalink
Merge branch 'topic/fix_depreciation_message' into 'master'
Browse files Browse the repository at this point in the history
Fix '-rules' depreciation message

See merge request eng/libadalang/langkit-query-language!339
  • Loading branch information
HugoGGuerrier committed Dec 2, 2024
2 parents 88eebf1 + c71e893 commit 4c43bd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lkql_checker/src/gnatcheck-projects.adb
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ package body Gnatcheck.Projects is
if not Rules_Depreciation_Emitted then
Error_In_Tty
("The '-rules' section is now deprecated. You should only " &
"use the '--rules' and '--rule-file' command-line options.");
"use the '--rule' and '--rule-file' command-line options.");
Error_In_Tty
("You can use the '--emit-lkql-rule-file' flag to " &
"automatically translate your rule configuration to the " &
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
gnatcheck: The '-rules' section is now deprecated. You should only use the '--rules' and '--rule-file' command-line options.
gnatcheck: The '-rules' section is now deprecated. You should only use the '--rule' and '--rule-file' command-line options.
gnatcheck: You can use the '--emit-lkql-rule-file' flag to automatically translate your rule configuration to the new LKQL format.
main.adb:3:04: goto statement

0 comments on commit 4c43bd8

Please sign in to comment.