Skip to content
Permalink
Browse files

Remove trailing whitespace if there is no pod to add

  • Loading branch information...
lizmat committed Oct 12, 2018
1 parent b781479 commit 7d02b949ef9d69deffe4184d6a2a737a69bc97af
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/Main.pm6
@@ -231,8 +231,8 @@ my sub RUN-MAIN(&main, $mainline, :$in-as-argsfiles) {
$docs = '-- ' ~ $sub.WHY.contents
}
my $msg = $no-named-after
?? join(' ', $prog-name, @required-named, @optional-named, @positional, $docs // '')
!! join(' ', $prog-name, @positional, @required-named, @optional-named, $docs // '');
?? join(' ', $prog-name, @required-named, @optional-named, @positional, ($docs if $docs))
!! join(' ', $prog-name, @positional, @required-named, @optional-named, ($docs if $docs));
@help-msgs.push($msg);
}

0 comments on commit 7d02b94

Please sign in to comment.
You can’t perform that action at this time.