Browse Source

Add coloring for new argument types in "help" command

pull/8/head
Anton Tarasenko 2 years ago
parent
commit
b282dfdcff
  1. 4
      sources/Commands/BuiltInCommands/ACommandHelp.uc

4
sources/Commands/BuiltInCommands/ACommandHelp.uc

@ -320,9 +320,9 @@ private final function PrintParameter(Parameter parameter)
callerConsole.UseColor(_.color.typeString); callerConsole.UseColor(_.color.typeString);
break; break;
case CPT_Object: case CPT_Object:
callerConsole.UseColor(_.color.typeLiteral); case CPT_JSON:
break;
case CPT_Array: case CPT_Array:
case CPT_PLAYERS:
callerConsole.UseColor(_.color.typeLiteral); callerConsole.UseColor(_.color.typeLiteral);
break; break;
default: default:

Loading…
Cancel
Save