Skip to content

Commit

Permalink
Docs: Fix missing boolean types in full usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Lestropie committed Aug 11, 2023
1 parent fdec23d commit 5326435
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ namespace MR
const char* argtype_description (ArgType type)
{
switch (type) {
case Boolean:
return ("boolean");
case Integer:
return ("integer");
case Float:
Expand Down Expand Up @@ -503,6 +505,9 @@ namespace MR
case Undefined:
assert (0);
break;
case Boolean:
stream << "BOOL";
break;
case Integer:
stream << "INT " << limits.i.min << " " << limits.i.max;
break;
Expand Down

0 comments on commit 5326435

Please sign in to comment.