Browse Source

Fix help commands output when there is no options

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

2
sources/Commands/BuiltInCommands/ACommandHelp.uc

@ -219,8 +219,8 @@ private final function PrintOption(
{ {
cout.Write(T(TSPACE)); cout.Write(T(TSPACE));
PrintParameters(cout, option.required, option.optional); PrintParameters(cout, option.required, option.optional);
cout.Flush();
} }
cout.Flush();
// Description // Description
if (option.description != none && !option.description.IsEmpty()) { if (option.description != none && !option.description.IsEmpty()) {
cout.WriteBlock(option.description); cout.WriteBlock(option.description);

Loading…
Cancel
Save