File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -380,6 +380,8 @@ GNATcheck:
380380 * ``-eL ``
381381 * ``-r, --rule [rule_name] `` (use ``Rules `` attribute instead)
382382 * ``--rule-file=filename `` (use ``Rule_File `` attribute instead)
383+ * ``--target `` (use the ``Target `` GPR attribute instead)
384+ * ``--RTS `` (use the ``Runtime `` GPR attribute instead)
383385
384386 If you're providing one of those switches through the ``Switches `` or the
385387 ``Default_Switches `` attribute, GNATcheck will emit an error message and
Original file line number Diff line number Diff line change @@ -1268,6 +1268,8 @@ package body Gnatcheck.Projects is
12681268 Disallow (Arg.Follow_Symbolic_Links.This, " -eL" & In_Project_Msg);
12691269 Disallow (Arg.Rules.This, " -r" & In_Project_Msg);
12701270 Disallow (Arg.Rule_File.This, " --rule-file" & In_Project_Msg);
1271+ Disallow (Arg.Target.This, " --target" & In_Project_Msg);
1272+ Disallow (Arg.RTS.This, " --RTS" & In_Project_Msg);
12711273 end ;
12721274 end if ;
12731275
@@ -1291,6 +1293,8 @@ package body Gnatcheck.Projects is
12911293 Allow (Arg.Follow_Symbolic_Links.This);
12921294 Allow (Arg.Rules.This);
12931295 Allow (Arg.Rule_File.This);
1296+ Allow (Arg.Target.This);
1297+ Allow (Arg.RTS.This);
12941298 end if ;
12951299
12961300 loop
You can’t perform that action at this time.
0 commit comments