We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b8c1414 + e865746 commit 5a9bb44Copy full SHA for 5a9bb44
src/cliargs.lua
@@ -613,7 +613,7 @@ function cli:print_help(noprint)
613
end
614
615
if self.optargument.maxcount > 0 then
616
- append(self.optargument.key, self.optargument.desc .. " (optional, default: " .. self.optargument.default .. ")")
+ append(self.optargument.key, self.optargument.desc .. " (optional, default: " .. tostring(self.optargument.default) .. ")")
617
618
619
if #self.optional > 0 then
0 commit comments