Skip to content

Commit 80bd98f

Browse files
committed
Merge branch 'pmderodat/log-comma' into 'master'
Accept comma-separated log names in the internal --log option See merge request eng/das/cov/gnatcoverage!343 In other words, interpret for instance "--log L1,L2" the say way as "--log L1 --log L2". For eng/das/cov/gnatcoverage#164
2 parents 0511c65 + b059712 commit 80bd98f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tools/gnatcov/command_line.ads

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,10 +1116,12 @@ package Command_Line is
11161116

11171117
String_List_Infos : constant String_List_Option_Info_Array :=
11181118
(Opt_Log => Create
1119-
(Long_Name => "--log",
1120-
Pattern => "[GNATCOLL_TRACE_NAME]",
1121-
Help => "Enable logging for the given GNATCOLL trace name.",
1122-
Internal => True),
1119+
(Long_Name => "--log",
1120+
Pattern => "[GNATCOLL_TRACE_NAME]",
1121+
Help =>
1122+
"Enable logging for the given GNATCOLL trace name.",
1123+
Internal => True,
1124+
Accepts_Comma_Separator => True),
11231125
Opt_Projects => Create
11241126
(Long_Name => "--projects",
11251127
Pattern => "[GPR|@LISTFILE]",

0 commit comments

Comments
 (0)