Skip to content

Commit 06aec95

Browse files
authored
Merge pull request #43 from britzl/develop
Fix issue when trying to create message when an invalid option is used
2 parents a3da208 + 00f5c18 commit 06aec95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ while i <= #arg do
8383
elseif curr == "--nocolors" then
8484
Prometheus.colors.enabled = false;
8585
else
86-
Prometheus.Logger:warn(string.format("The option \"%s\" is not valid and therefore ignored"));
86+
Prometheus.Logger:warn(string.format("The option \"%s\" is not valid and therefore ignored", curr));
8787
end
8888
else
8989
if sourceFile then

0 commit comments

Comments
 (0)