We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e34e718 commit 553bd03Copy full SHA for 553bd03
Src/VSoft.CommandLine.Options.pas
@@ -348,7 +348,7 @@ class procedure TOptionsRegistry.PrintUsage(const command: ICommandDefinition; c
348
if command.HelpText <> '' then
349
begin
350
proc('');
351
- proc(' ' + command.HelpText);
+ proc(command.HelpText);
352
end;
353
354
proc('Options:');
@@ -390,6 +390,11 @@ class procedure TOptionsRegistry.PrintUsage(const command: ICommandDefinition; c
390
391
if opt.HasValue then
392
s := s + FNameValueSeparator + '<' + opt.LongName + '>';
393
+ if opt.AllowMultiple then
394
+ s := s + ' +'
395
+ else
396
+ s := s + ' ';
397
+
398
s := PadRight(s, FDescriptionTab);
399
s := s + descStrings[0];
400
proc(s);
0 commit comments